add(new command schema)

This commit is contained in:
DeniskaRediska committed 2019-08-21 14:32:58 +03:00
1 parent fcafab05d1
commit f32d9a80b0
16 files changed
+306 -77

No files matched your search

+2 -2
View File
@@ -31,11 +31,11 @@ type statusCommand struct{}
func (statusCommand) action(c *cli.Context) {
if err := checkFlags(c); err != nil {
fmt.Println(err)
printError(err)
return
}
if arrayOfModules, err := service.ConfigClient.GetAvailableConfigs(); err != nil {
fmt.Println(err)
printError(err)
} else {
table := tablewriter.NewWriter(os.Stdout)
table.SetBorders(tablewriter.Border{Left: false, Top: false, Right: false, Bottom: false})