chore: 'uc stop' - make --timeout default explicit, update flag and long descriptions

This commit is contained in:
Pasha Sviderski committed 2025-12-12 19:16:17 +10:00
1 parent f215fae6c7
commit 596bc561b8
2 files changed
+21 -15

No files matched your search

+5 -2
View File
@@ -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