Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/docs/cli-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ order: 9
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.

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

> **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.

## `openboot` / `openboot install`
## `openboot install`

Install and configure your Mac. `openboot` with no subcommand is identical to `openboot install`.
Install and configure your Mac.

```
openboot install [source]
Expand Down
4 changes: 2 additions & 2 deletions src/lib/server/install-script.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ describe('generateInstallScript', () => {
expect(script).toContain('OpenBoot Installer');
expect(script).toContain('Config: @testuser/my-config');
expect(script).toContain('api.github.com/repos/${OPENBOOT_REPO}/releases/latest');
expect(script).toContain('--user "testuser/my-config"');
expect(script).toContain('openboot install "testuser/my-config"');
});

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

expect(script).toContain('openboot --user "testuser/my-config" "$@"');
expect(script).toContain('openboot install "testuser/my-config" "$@"');
});
});
2 changes: 1 addition & 1 deletion src/lib/server/install-script.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ install_openboot "\$os" "\$arch"
echo ""
echo "Starting OpenBoot setup with config: @${safeUsername}/${safeSlug}"
echo ""
openboot --user "${safeUsername}/${safeSlug}" "\$@"
openboot install "${safeUsername}/${safeSlug}" "\$@"

echo ""
echo "Installation complete!"
Expand Down
Loading