Command reference
Find the command for the job, then follow its guide for examples and defaults.
In the syntax below, [value] is optional and <value> is required. Do not type the brackets. Start with your first session if you are new to Schooner.
Get the flags supported by your installed version with:
schooner --helpschooner push --helpEveryday work
Section titled “Everyday work”Box flags are optional in ordinary use. See how commands find your work before adding explicit selectors everywhere.
| Command | What it does | Guide |
|---|---|---|
push [remote-worktree] |
Send the current local workspace to a Box | Workspace transfers |
pull [remote-worktree] |
Bring a remote workspace into the current local checkout | Workspace transfers |
start [worktree-path] |
Open persistent work, reusing its managed live Session when present | Sessions |
resume [worktree-path-or-session-id] |
Return to an existing live Session | Resume work |
sessions |
List managed and unmanaged live tmux Sessions | Sessions |
logs [session-id] |
Capture bounded history from a managed Session | Sessions |
stop [session-id] |
Stop a managed Session without changing its Worktree | Sessions |
shell [worktree-path] |
Open an ephemeral shell in a live Worktree | Sessions |
Prefix every command with schooner. push and pull support --dry-run; logs supports --lines from 1 to 2,000. These commands accept --box when an explicit Box is useful.
start, resume, and shell require a terminal and human output. An explicit stop Session ID acts without the picker and confirmation used by bare stop. See automation for these boundaries.
| Command | What it does |
|---|---|
box add [name] |
Guide you through adopting an SSH machine or provisioning with DigitalOcean |
box list |
List recorded Boxes |
box use <name> |
Set the default Box |
box status [name] |
Inspect live status on a selected Box |
box setup [name] |
Install or repair prerequisites and the host runtime |
box update [name] |
Update the selected Box’s host runtime |
box ssh [name] |
Open a normal login shell using OpenSSH |
box remove [name] |
Forget the local Box record without changing the machine |
box destroy [name] |
Permanently destroy provider infrastructure and remove its Box |
Read managing Boxes for selection, maintenance, and removal. box ssh requires a terminal. Removal and destruction do not silently use your default Box. Provider destruction is distinct from forgetting a record.
For adoption, box add --ssh accepts an OpenSSH alias or user@host. For cloud creation, see provisioning and schooner box add --help for supported provider settings and confirmations.
Cloud provider profiles
Section titled “Cloud provider profiles”| Command | What it does |
|---|---|
provider connect digitalocean [profile] |
Verify and connect a DigitalOcean credential profile |
provider list |
List provider credential profiles |
provider disconnect digitalocean/<profile> |
Remove a stored provider credential |
These manage provider credentials; box add creates infrastructure. See DigitalOcean provisioning for token storage, profile selection, recovery, and cloud costs.
Repositories and Worktrees
Section titled “Repositories and Worktrees”| Command | What it does |
|---|---|
clone <repository> |
Clone a Repository as an ordinary primary Git Worktree |
worktree list |
Discover live Git Worktrees |
worktree inspect <path> |
Inspect an exact Worktree |
worktree add <repository-path> <path> |
Add an ordinary linked Git Worktree |
worktree remove <path> |
Remove a clean linked Git Worktree |
worktree prune |
Prune stale Git Worktree registrations |
All support Box selection with --box. clone --branch selects a branch or tag; worktree add --branch selects an existing branch or ref. See repositories and Worktrees for path handling and removal protections. Git remains authoritative.
Source-host access
Section titled “Source-host access”| Command | What it does |
|---|---|
source connect github |
Connect a Box to private GitHub repositories |
source status |
Inspect the selected Box’s GitHub source access |
source disconnect github |
Revoke the Box’s GitHub key and remove its private key |
These commands support --box. They concern repository access, separate from cloud-provider credentials. See source access for device authorization, Box-owned keys, and SSO.
Local CLI and diagnostics
Section titled “Local CLI and diagnostics”| Command | What it does | Guide |
|---|---|---|
doctor |
Check the machine where the CLI is running | Troubleshooting |
version |
Show build information | Installation |
update --check |
Check for a local CLI update without replacing it | Installation |
update |
Update the local executable where its installation method permits | Installation |
db destroy |
Permanently discard the local database and its SQLite sidecars | Advanced inventory reset |
help [command] |
Show command help | — |
db destroy does not destroy cloud resources or erase credential-store entries. Read its scope before using it as a reset.
Shell completion
Section titled “Shell completion”Generate a completion script for your shell:
schooner completion zshThe available generators are completion bash, completion zsh, completion fish, and completion powershell. Each prints its shell’s script. Use schooner completion zsh --help (or your shell’s equivalent) for loading instructions. A PowerShell completion generator does not imply Windows client support.
Global flags
Section titled “Global flags”| Flag | Purpose |
|---|---|
--help, -h |
Show help for the current command |
--version, -v |
Show the CLI version at the root command |
--output human|json |
Choose output format; defaults to human |
--no-input |
Disable interactive prompts |
--accessible |
Use screen-reader-friendly prompts and progress |
--color auto|always|never |
Control terminal color; defaults to auto |
--theme auto|light|dark |
Set the terminal theme; defaults to auto |
Output mode does not make every command scriptable. Read automation for JSON streams, exit statuses, confirmations, SSH trust, and terminal-only commands.
Scope of this reference
Section titled “Scope of this reference”This directory covers the public release command surface. Internal host protocol commands and development-build helpers are implementation details.
DigitalOcean is the current built-in cloud provider; managed source access targets GitHub. Hetzner provisioning, optional coding-agent sessions, and private preview forwarding are planned, not commands available here. There is no public package-management command or generic schooner run, and transfers are explicit rather than continuous background synchronization.
Verified against registered commands and flags, the public help fixture, and current roadmap at 03d6623.