chore: group deploy and service management commands in uc --help

This commit is contained in:
Pasha Sviderski committed 2025-12-12 18:52:08 +10:00
1 parent 5707c37b63
commit f215fae6c7
14 files changed
+46 -27

No files matched your search

+14 -7
View File
@@ -107,6 +107,11 @@ func main() {
}
})
cmd.AddGroup(&cobra.Group{
ID: "service",
Title: "Deploy and manage services:",
})
cmd.AddCommand(
NewBuildCommand(),
NewDeployCommand(),
@@ -119,13 +124,15 @@ func main() {
image.NewRootCommand(),
machine.NewRootCommand(),
service.NewRootCommand(),
service.NewExecCommand(),
service.NewInspectCommand(),
service.NewListCommand(),
service.NewLogsCommand(),
service.NewRmCommand(),
service.NewRunCommand(),
service.NewScaleCommand(),
service.NewExecCommand("service"),
service.NewInspectCommand("service"),
service.NewListCommand("service"),
service.NewLogsCommand("service"),
service.NewRmCommand("service"),
service.NewRunCommand("service"),
service.NewScaleCommand("service"),
service.NewStartCommand("service"),
service.NewStopCommand("service"),
volume.NewRootCommand(),
)
cobra.CheckErr(cmd.Execute())