Changesets · Branches · Tags · Compare
| Changeset | b0fcd0e0f7a09045b8a2e345e255008ba51f2056f98847ddb8e3e11607b19d99 |
|---|---|
| Author | Nate <sestinj@gmail.com> · 2025-08-21 08:27 -07:00 |
| Committer | Nate <sestinj@gmail.com> · 2025-08-21 08:27 -07:00 |
| Parents | e5959a5a0348 |
2 files changed
modified extensions/cli/src/commands/remote.ts +2 −1
| @@ -15,6 +15,7 @@ | ||
| 15 | 15 | idempotencyKey?: string; |
| 16 | 16 | start?: boolean; |
| 17 | 17 | branch?: string; |
| 18 | + repo?: string; | |
| 18 | 19 | } = {}, |
| 19 | 20 | ) { |
| 20 | 21 | // Check if prompt should come from stdin instead of parameter |
| @@ -79,7 +80,7 @@ | ||
| 79 | 80 | const accessToken = getAccessToken(authConfig); |
| 80 | 81 | |
| 81 | 82 | const requestBody: any = { |
| 82 | - repoUrl: getRepoUrl(), | |
| 83 | + repoUrl: options.repo || getRepoUrl(), | |
| 83 | 84 | name: `devbox-${Date.now()}`, |
| 84 | 85 | prompt: actualPrompt, |
| 85 | 86 | idempotencyKey: options.idempotencyKey, |
modified extensions/cli/src/index.ts +4 −0
| @@ -202,6 +202,10 @@ | ||
| 202 | 202 | "--branch <branch>", |
| 203 | 203 | "Specify the git branch name to use in the remote environment", |
| 204 | 204 | ) |
| 205 | + .option( | |
| 206 | + "--repo <url>", | |
| 207 | + "Specify the repository URL to use in the remote environment", | |
| 208 | + ) | |
| 205 | 209 | .action(async (prompt: string | undefined, options) => { |
| 206 | 210 | await remote(prompt, options); |
| 207 | 211 | }); |