Skip to content

Commit 9a8721c

Browse files
committed
docs(cli): default usage uses npx -y @spawn-dock/create@beta
Made-with: Cursor
1 parent d85a6f6 commit 9a8721c

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ and then writes project-specific runtime files.
1515
## Usage
1616

1717
```bash
18-
npx @spawn-dock/create --token <pairing-token> [project-dir]
18+
npx -y @spawn-dock/create@beta --token <pairing-token> [project-dir]
1919
```
2020

2121
If npm registry access is unavailable, the GitHub fallback remains:

packages/app/src/shell/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
} from "../core/bootstrap.js"
1010

1111
export const formatUsage = (
12-
invocation = "npx @spawn-dock/create --token <pairing-token> [project-dir]",
12+
invocation = "npx -y @spawn-dock/create@beta --token <pairing-token> [project-dir]",
1313
): string => `Usage: ${invocation}`
1414

1515
export const parseArgs = (

packages/app/tests/cli.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ describe("parseArgs", () => {
6161

6262
describe("formatUsage", () => {
6363
it("renders a custom invocation", () => {
64-
expect(formatUsage("npx @spawn-dock/create --token <pairing-token> [project-dir]")).toBe(
65-
"Usage: npx @spawn-dock/create --token <pairing-token> [project-dir]",
64+
expect(formatUsage("npx -y @spawn-dock/create@beta --token <pairing-token> [project-dir]")).toBe(
65+
"Usage: npx -y @spawn-dock/create@beta --token <pairing-token> [project-dir]",
6666
)
6767
})
6868
})

0 commit comments

Comments
 (0)