Skip to content
Snippets Groups Projects
Unverified Commit 43ad0425 authored by Silas Davis's avatar Silas Davis
Browse files

add client commands

parent 38e5fa04
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,7 @@ import (
"github.com/eris-ltd/eris-db/version"
"github.com/spf13/cobra"
clientCommands "github.com/eris-ltd/eris-db/client/cmd"
)
// Repository maintainers should customize the next two lines.
......@@ -83,6 +84,11 @@ func main() {
commands.AddCommands()
commands.AddGlobalFlags()
erisClientCommand := clientCommands.ErisClientCmd
clientCommands.InitErisClientInit()
clientCommands.AddClientCommands()
clientCommands.AddGlobalFlags()
// Make the proper directory.
var err error
if _, err = os.Stat(RenderDir); os.IsNotExist(err) {
......@@ -112,4 +118,8 @@ func main() {
if err = RenderFiles(erisDbCommand, tmpl); err != nil {
panic(err)
}
if err = RenderFiles(erisClientCommand, tmpl); err != nil {
panic(err)
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment