working commit

This commit is contained in:
2026-05-29 19:07:59 +02:00
parent 4e2c548e97
commit c1f85e87c9
23 changed files with 543 additions and 342 deletions
+6 -1
View File
@@ -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
}