mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-08 14:14:52 +00:00
chore: 'uc stop' - make --timeout default explicit, update flag and long descriptions
This commit is contained in:
1 parent
f215fae6c7
commit
596bc561b8
2 files changed
+21
-15
No files matched your search
@@ -19,8 +19,11 @@ func NewStartCommand(groupID string) *cobra.Command {
|
||||
cmd := &cobra.Command{
|
||||
Use: "start SERVICE [SERVICE...]",
|
||||
Short: "Start one or more services.",
|
||||
Long: "Start one or more services.",
|
||||
Args: cobra.MinimumNArgs(1),
|
||||
Long: `Start one or more previously stopped services.
|
||||
|
||||
Starts all containers of the specified service(s) across all machines in the cluster.
|
||||
Services can be specified by name or ID.`,
|
||||
Args: cobra.MinimumNArgs(1),
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
uncli := cmd.Context().Value("cli").(*cli.CLI)
|
||||
opts.services = args
|
||||
|
||||
Reference in new issue
Block a user