File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ export async function remote(
1515 idempotencyKey ?: string ;
1616 start ?: boolean ;
1717 branch ?: string ;
18+ repo ?: string ;
1819 } = { } ,
1920) {
2021 // Check if prompt should come from stdin instead of parameter
@@ -79,7 +80,7 @@ export async function remote(
7980 const accessToken = getAccessToken ( authConfig ) ;
8081
8182 const requestBody : any = {
82- repoUrl : getRepoUrl ( ) ,
83+ repoUrl : options . repo || getRepoUrl ( ) ,
8384 name : `devbox-${ Date . now ( ) } ` ,
8485 prompt : actualPrompt ,
8586 idempotencyKey : options . idempotencyKey ,
Original file line number Diff line number Diff line change @@ -202,6 +202,10 @@ program
202202 "--branch <branch>" ,
203203 "Specify the git branch name to use in the remote environment" ,
204204 )
205+ . option (
206+ "--repo <url>" ,
207+ "Specify the repository URL to use in the remote environment" ,
208+ )
205209 . action ( async ( prompt : string | undefined , options ) => {
206210 await remote ( prompt , options ) ;
207211 } ) ;
You can’t perform that action at this time.
0 commit comments