mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-08 22:24:54 +00:00
chore: group deploy and service management commands in uc --help
This commit is contained in:
1 parent
5707c37b63
commit
f215fae6c7
14 files changed
+46
-27
No files matched your search
@@ -14,7 +14,7 @@ type startOptions struct {
|
||||
services []string
|
||||
}
|
||||
|
||||
func NewStartCommand() *cobra.Command {
|
||||
func NewStartCommand(groupID string) *cobra.Command {
|
||||
opts := startOptions{}
|
||||
cmd := &cobra.Command{
|
||||
Use: "start SERVICE [SERVICE...]",
|
||||
@@ -26,6 +26,7 @@ func NewStartCommand() *cobra.Command {
|
||||
opts.services = args
|
||||
return start(cmd.Context(), uncli, opts)
|
||||
},
|
||||
GroupID: groupID,
|
||||
}
|
||||
return cmd
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user