This commit is contained in:
@@ -3,6 +3,7 @@ package main
|
||||
import (
|
||||
"os"
|
||||
|
||||
"gogs.inhome.blapointe.com/ana-ledger/cmd/cli"
|
||||
"gogs.inhome.blapointe.com/ana-ledger/cmd/http"
|
||||
)
|
||||
|
||||
@@ -11,5 +12,8 @@ func main() {
|
||||
case "http":
|
||||
os.Args = append([]string{os.Args[0]}, os.Args[2:]...)
|
||||
http.Main()
|
||||
case "cli":
|
||||
os.Args = append([]string{os.Args[0]}, os.Args[2:]...)
|
||||
cli.Main()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user