@@ -105,9 +105,9 @@ svc.command('remove <type> <name>').description('Remove a service and destroy it
105105svc . command ( 'set-access <type> <name> <access>' ) . description ( 'Set a storage service bucket access mode (access: public|private)' )
106106 . option ( '--json' ) . action ( guard ( ( type , name , access , o ) => services . servicesSetAccess ( type , name , access , o ) ) )
107107svc . command ( 'scale <type> <name> <number> [region]' ) . description ( 'Set a compute service machine count (paid plans only)' )
108- . option ( '--json' ) . action ( guard ( ( type , name , number , region , o ) => services . servicesScale ( type , name , number , region , o ) ) )
108+ . option ( '--json' ) . option ( '--branch <branch>' , 'branch (default: current)' ) . action ( guard ( ( type , name , number , region , o ) => services . servicesScale ( type , name , number , region , o ) ) )
109109svc . command ( 'upgrade <type> <name> <spec>' ) . description ( 'Change a compute/postgres service spec (paid plans only)' )
110- . option ( '--json' ) . action ( guard ( ( type , name , spec , o ) => services . servicesUpgrade ( type , name , spec , o ) ) )
110+ . option ( '--json' ) . option ( '--branch <branch>' , 'branch (default: current)' ) . action ( guard ( ( type , name , spec , o ) => services . servicesUpgrade ( type , name , spec , o ) ) )
111111
112112// ---- secrets (seam) ----
113113const sec = program . command ( 'secrets' ) . description ( 'Fetch the credential bundle (secret seam) into .env' )
@@ -134,13 +134,13 @@ compute.command('check-domain <host>').description("Show a custom domain's cert
134134compute . command ( 'remove-domain <host>' ) . description ( 'Detach a custom domain (gated: deploy)' )
135135 . option ( '--branch <b>' ) . option ( '--group <g>' ) . action ( guard ( ( host , o ) => computeCmd . removeDomain ( host , o ) ) )
136136compute . command ( 'start [service]' ) . description ( 'Bring a compute service online (persistent — re-enables auto-wake)' )
137- . option ( '--json' ) . action ( guard ( ( service , o ) => computeCmd . computeStart ( service , o ) ) )
137+ . option ( '--json' ) . option ( '--branch <branch>' , 'branch (default: current)' ) . action ( guard ( ( service , o ) => computeCmd . computeStart ( service , o ) ) )
138138compute . command ( 'stop [service]' ) . description ( 'Take a compute service offline; traffic will NOT wake it until `start`' )
139- . option ( '--json' ) . action ( guard ( ( service , o ) => computeCmd . computeStop ( service , o ) ) )
139+ . option ( '--json' ) . option ( '--branch <branch>' , 'branch (default: current)' ) . action ( guard ( ( service , o ) => computeCmd . computeStop ( service , o ) ) )
140140compute . command ( 'suspend [service]' ) . description ( 'Suspend a compute service (RAM snapshot); stays down until `start`' )
141- . option ( '--json' ) . action ( guard ( ( service , o ) => computeCmd . computeSuspend ( service , o ) ) )
141+ . option ( '--json' ) . option ( '--branch <branch>' , 'branch (default: current)' ) . action ( guard ( ( service , o ) => computeCmd . computeSuspend ( service , o ) ) )
142142compute . command ( 'status [service]' ) . description ( "Show a compute service's desired vs. live state" )
143- . option ( '--json' ) . action ( guard ( ( service , o ) => computeCmd . computeStatus ( service , o ) ) )
143+ . option ( '--json' ) . option ( '--branch <branch>' , 'branch (default: current)' ) . action ( guard ( ( service , o ) => computeCmd . computeStatus ( service , o ) ) )
144144
145145// ---- manifest ----
146146program . command ( 'manifest' ) . description ( 'Print an agent-legible view of the project environments' ) . option ( '--json' ) . action ( guard ( ( o ) => manifest ( o ) ) )
0 commit comments