mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-28 12:03:33 +00:00
chore: group deploy and service management commands in uc --help
This commit is contained in:
@@ -17,7 +17,7 @@ type inspectOptions struct {
|
||||
service string
|
||||
}
|
||||
|
||||
func NewInspectCommand() *cobra.Command {
|
||||
func NewInspectCommand(groupID string) *cobra.Command {
|
||||
opts := inspectOptions{}
|
||||
cmd := &cobra.Command{
|
||||
Use: "inspect SERVICE",
|
||||
@@ -28,6 +28,7 @@ func NewInspectCommand() *cobra.Command {
|
||||
opts.service = args[0]
|
||||
return inspect(cmd.Context(), uncli, opts)
|
||||
},
|
||||
GroupID: groupID,
|
||||
}
|
||||
return cmd
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user