File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -199,8 +199,6 @@ export const createCommand = new Command<GlobalContext>()
199199 options . workingDirectory ||
200200 options . staticDir ||
201201 options . singlePageApp ||
202- options . buildTimeout ||
203- options . buildMemoryLimit ||
204202 options . region
205203 ) {
206204 const org = required ( options . org , "org" ) ;
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ const logsCommand = new Command<GlobalContext>()
106106 const seenIds = new Set ( ) ;
107107 let onceConnected = false ;
108108
109- const sub = await trpcClient . subscription (
109+ const sub = trpcClient . subscription (
110110 "apps.logs" ,
111111 {
112112 org,
@@ -219,9 +219,10 @@ deploy your local directory to the specified application.`)
219219 const { app, created } = await getApp (
220220 options ,
221221 config ,
222- false ,
222+ true ,
223223 org ,
224224 options . app ,
225+ rootPath ,
225226 ) ;
226227
227228 await publish (
Original file line number Diff line number Diff line change @@ -48,14 +48,14 @@ export const sandboxCreateCommand = new Command<SandboxContext>()
4848 )
4949 . option (
5050 "--volume <volume:string>" ,
51- "Mount a volume to the sandbox. Needs to be in format <idOrSlug >:<path>" ,
51+ "Mount a volume to the sandbox. Needs to be in format <id-or-slug >:<path>" ,
5252 {
5353 collect : true ,
5454 value : ( value , previous = { } ) : Record < string , VolumeId | VolumeSlug > => {
5555 const separatorIndex = value . indexOf ( ":" ) ;
5656 if ( separatorIndex === - 1 ) {
5757 throw new ValidationError (
58- "Volume must be specified as <idOrSlug >:<path>" ,
58+ "Volume must be specified as <id-or-slug >:<path>" ,
5959 ) ;
6060 }
6161 const name = value . slice ( 0 , separatorIndex ) ;
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { actionHandler, getOrg } from "../config.ts";
77
88export const snapshotsCreateCommand = new Command < SandboxContext > ( )
99 . description ( "Create a snapshot from a volume" )
10- . arguments ( "<volumeIdOrSlug :string> <snapshotSlug:string>" )
10+ . arguments ( "<volumeid-or-slug :string> <snapshotSlug:string>" )
1111 . action (
1212 actionHandler ( async ( config , options , volumeIdOrSlug , snapshotSlug ) => {
1313 config . noCreate ( ) ;
@@ -65,7 +65,7 @@ export const snapshotsListCommand = new Command<SandboxContext>()
6565
6666export const snapshotsDeleteCommand = new Command < SandboxContext > ( )
6767 . description ( "Remove a snapshot" )
68- . arguments ( "<idOrSlug :string>" )
68+ . arguments ( "<id-or-slug :string>" )
6969 . action ( actionHandler ( async ( config , options , idOrSlug ) => {
7070 config . noCreate ( ) ;
7171 const org = await getOrg ( options , config , options . org ) ;
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ export const volumesListCommand = new Command<SandboxContext>()
7676
7777export const volumesDeleteCommand = new Command < SandboxContext > ( )
7878 . description ( "Remove a volume" )
79- . arguments ( "<idOrSlug :string>" )
79+ . arguments ( "<id-or-slug :string>" )
8080 . action ( actionHandler ( async ( config , options , idOrSlug ) => {
8181 config . noCreate ( ) ;
8282
@@ -94,7 +94,7 @@ export const volumesDeleteCommand = new Command<SandboxContext>()
9494
9595export const volumesSnapshotCommand = new Command < SandboxContext > ( )
9696 . description ( "Snapshot a volume" )
97- . arguments ( "<volumeIdOrSlug :string> <snapshotSlug:string>" )
97+ . arguments ( "<volume-id-or-slug :string> <snapshotSlug:string>" )
9898 . action (
9999 actionHandler ( async ( config , options , volumeIdOrSlug , snapshotSlug ) => {
100100 config . noCreate ( ) ;
You can’t perform that action at this time.
0 commit comments