Skip to content

Commit 42fa38a

Browse files
authored
Merge pull request #5 from openbootdotdev/claude/update-warp-script-4xnTj
Remove implicit `openboot` command alias for `openboot install`
2 parents 5d67db1 + 35b5403 commit 42fa38a

3 files changed

Lines changed: 5 additions & 6 deletions

File tree

src/docs/cli-reference.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ order: 9
1010
OpenBoot v1.0 has two real verbs: **`install`** adds things to your Mac, **`snapshot`** captures what's on it. Everything else is auth or bookkeeping.
1111

1212
```
13-
openboot # install (resume or interactive)
1413
openboot install [source] # install from preset, file, or cloud config
1514
openboot snapshot # capture your environment
1615
openboot login / logout # openboot.dev auth
@@ -19,9 +18,9 @@ openboot version # print version
1918

2019
> **v1.0 removed these commands:** `pull`, `push`, `diff`, `clean`, `log`, `restore`, `init`, `setup-agent`, `doctor`, `update`, `list`, `edit`, `delete`. OpenBoot no longer uninstalls packages or tracks revision history — `install` is add-only, and `snapshot --publish` overwrites. Manage configs on the [dashboard](/dashboard). See the project [CHANGELOG](https://github.com/openbootdotdev/openboot/blob/main/CHANGELOG.md) for migration.
2120
22-
## `openboot` / `openboot install`
21+
## `openboot install`
2322

24-
Install and configure your Mac. `openboot` with no subcommand is identical to `openboot install`.
23+
Install and configure your Mac.
2524

2625
```
2726
openboot install [source]

src/lib/server/install-script.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ describe('generateInstallScript', () => {
137137
expect(script).toContain('OpenBoot Installer');
138138
expect(script).toContain('Config: @testuser/my-config');
139139
expect(script).toContain('api.github.com/repos/${OPENBOOT_REPO}/releases/latest');
140-
expect(script).toContain('--user "testuser/my-config"');
140+
expect(script).toContain('openboot install "testuser/my-config"');
141141
});
142142

143143
it('should include Xcode CLT installation', () => {
@@ -194,6 +194,6 @@ describe('generateInstallScript', () => {
194194
it('should pass through additional arguments to openboot', () => {
195195
const script = generateInstallScript('testuser', 'my-config');
196196

197-
expect(script).toContain('openboot --user "testuser/my-config" "$@"');
197+
expect(script).toContain('openboot install "testuser/my-config" "$@"');
198198
});
199199
});

src/lib/server/install-script.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ install_openboot "\$os" "\$arch"
251251
echo ""
252252
echo "Starting OpenBoot setup with config: @${safeUsername}/${safeSlug}"
253253
echo ""
254-
openboot --user "${safeUsername}/${safeSlug}" "\$@"
254+
openboot install "${safeUsername}/${safeSlug}" "\$@"
255255
256256
echo ""
257257
echo "Installation complete!"

0 commit comments

Comments
 (0)