add basic client; enable node level routing

Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
This commit is contained in:
Evan Hazlett 2019-10-04 22:56:46 -04:00
parent c0515d4802
commit ed73f97bd3
No known key found for this signature in database
GPG key ID: A519480096146526
16 changed files with 1292 additions and 143 deletions

View file

@ -35,7 +35,7 @@ import (
func main() {
app := cli.NewApp()
app.Name = "actl"
app.Name = "hctl"
app.Version = version.BuildVersion()
app.Author = "@stellarproject"
app.Email = ""
@ -49,7 +49,7 @@ func main() {
Name: "addr, a",
Usage: "heimdall grpc address",
Value: "tcp://127.0.0.1:9000",
EnvVar: "ATLAS_ADDR",
EnvVar: "HEIMDALL_ADDR",
},
cli.StringFlag{
Name: "cert, c",
@ -72,7 +72,11 @@ func main() {
}
return nil
}
app.Commands = []cli.Command{}
app.Commands = []cli.Command{
nodesCommand,
peersCommand,
routesCommand,
}
if err := app.Run(os.Args); err != nil {
logrus.Fatal(err)