remove panicking and added usage (#6208)

This commit is contained in:
Giacomo Tirabassi
2019-02-11 20:19:08 +01:00
committed by Brian Kassouf
parent b888adec50
commit 75266af3d3
3 changed files with 50 additions and 7 deletions

View File

@@ -425,6 +425,11 @@ func initCommands(ui, serverCmdUi cli.Ui, runOpts *RunOptions) {
BaseCommand: getBaseCommand(),
}, nil
},
"print": func() (cli.Command, error) {
return &PrintCommand{
BaseCommand: getBaseCommand(),
}, nil
},
"print token": func() (cli.Command, error) {
return &PrintTokenCommand{
BaseCommand: getBaseCommand(),