working commit
This commit is contained in:
@@ -8,6 +8,8 @@ import (
|
||||
"os"
|
||||
"path/filepath"
|
||||
|
||||
"mproxy/cmd/mproxyctl/servcmd"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
@@ -28,12 +30,15 @@ func (util *Util) Build() error {
|
||||
execName := filepath.Base(os.Args[0])
|
||||
rootCmd := &cobra.Command{
|
||||
Use: execName,
|
||||
Short: "\nOperation with artefacts: files, images, service accounts and grants",
|
||||
Short: "\nGet hello from service",
|
||||
SilenceUsage: true,
|
||||
}
|
||||
rootCmd.CompletionOptions.DisableDefaultCmd = true
|
||||
util.rootCmd = rootCmd
|
||||
|
||||
ServiceUtil := servcmd.NewServiceUtil()
|
||||
rootCmd.AddCommand(ServiceUtil.MakeServiceCmds())
|
||||
|
||||
return err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user