cmdhub CLI
for cmdhub.
Control plane for install, auth, provider links, config, and suite health.
curl -fsSL https://cmdhub.run/install.sh | bash
data_object Agent Contract
Agents should start with auth/status and discovery commands, inspect schemas before composition, and treat commands marked as mutating as state-changing operations.
Output
Use human output for reading, `--json` for one object, and `--jsonl` for pipes.
Auth
cmdhub account session. Website account auth does not grant provider API access.
Refs
Prefer list/search, then short refs or piped JSONL. Use `resolve` to inspect cached refs.
Schemas
Use `cmdhub schema` and `catalog.json` to inspect fields, flags, examples, and side effects.
Auth scopes
cmdhub registry/account sessionterminal Command Reference
Generated from source. Global flags apply to all commands.
Global Flags
--json
bool
Emit JSON machine output--jsonl
bool
Emit JSONL records for piping--output, -o
string
Compatibility output mode: json|jsonl. Prefer --json or --jsonl--view
string = summary
View mode: summary|full--profile
string
Config/auth profile--config
string
Config path override--quiet, -q
bool
Suppress non-essential diagnostics--debug
bool
Enable debug diagnostics--limit
int = 50
Maximum items to emit--page-size
int = 50
Requested upstream page size--cursor
string
Continuation cursor--no-paginate
bool
Fetch only one page--version, -v
bool
Print version informationcmdhub auth
Manage cmdhub account authenticationcmdhub auth login
Start browser login for cmdhub--email
string
Account email for manual bootstrap--host
string = https://cmdhub.run
Cmdhub web auth host--name
string
Display name for manual bootstrap--timeout
duration = 2m0s
How long to wait for browser login--token
string
Manual bootstrap session token--user-id
string
User identifier for manual bootstrapcmdhub auth logout
Clear cmdhub auth statecmdhub auth status
Show cmdhub auth statuscmdhub auth whoami
Show the current cmdhub accountcmdhub capabilities
Show tool capabilitiescmdhub config
Manage shared cmdhub configcmdhub config get
Get config valuescmdhub config set
Set a config valuecmdhub doctor
Run suite diagnosticscmdhub get
Install one or more toolscmdhub info
Show metadata for one toolcmdhub installed
List installed toolscmdhub list
List known toolscmdhub login
Start browser login for cmdhub--email
string
Account email for manual bootstrap--host
string = https://cmdhub.run
Cmdhub web auth host--name
string
Display name for manual bootstrap--timeout
duration = 2m0s
How long to wait for browser login--token
string
Manual bootstrap session token--user-id
string
User identifier for manual bootstrapcmdhub logout
Clear cmdhub auth statecmdhub pin
Pin an installed tool to a versioncmdhub remove
Remove installed toolscmdhub schema
Show a tool command schema when supported--in
bool
Show input schema--out
bool
Show output schemacmdhub telemetry
Manage anonymous cmdhub telemetrycmdhub telemetry disable
Disable anonymous telemetrycmdhub telemetry enable
Enable anonymous telemetrycmdhub telemetry flush
Upload queued telemetry nowcmdhub telemetry path
Show the local telemetry queue pathcmdhub telemetry status
Show telemetry statuscmdhub unpin
Clear a version pin on an installed toolcmdhub update
Update installed tools--all
bool
Plan updates for every installed tool (default if no targets are given)--yes, -y
bool
Apply the planned updatescmdhub version
Show cmdhub version informationcmdhub whoami
Show the current cmdhub accountplay_circle Live Examples
Output captured from a real workspace. Regenerate with
scripts/gen-docs.sh --update.
lifecycle
Manage the cmdhub suite: install tools, inspect tool metadata, and run suite diagnostics.
Cmdhub is the control plane. App CLIs such as gmail, gcal, slack, notion, and agent remain the data plane.
Usage:
cmdhub [command]
Examples:
cmdhub auth login
cmdhub list
cmdhub get gmail gcal
gmail login
cmdhub doctor
cmdhub schema gmail message.get --out
Available Commands:
auth Manage cmdhub account authentication
capabilities Show tool capabilities
completion Generate the autocompletion script for the specified shell
config Manage shared cmdhub config
doctor Run suite diagnostics
get Install one or more tools
help Help about any command
info Show metadata for one tool
installed List installed tools
list List known tools
login Start browser login for cmdhub
logout Clear cmdhub auth state
pin Pin an installed tool to a version
remove Remove installed tools
schema Show a tool command schema when supported
telemetry Manage anonymous cmdhub telemetry
unpin Clear a version pin on an installed tool
update Update installed tools
version Show cmdhub version information
whoami Show the current cmdhub account
Flags:
--config string Config path override
--cursor string Continuation cursor
--debug Enable debug diagnostics
-h, --help help for cmdhub
--json Emit JSON machine output
--jsonl Emit JSONL records for piping
--limit int Maximum items to emit (default 50)
--no-paginate Fetch only one page
-o, --output string Compatibility output mode: json|jsonl. Prefer --json or --jsonl
--page-size int Requested upstream page size (default 50)
-q, --quiet Suppress non-essential diagnostics
-v, --version Print version information
--view string View mode: summary|full (default "summary")
Use "cmdhub [command] --help" for more information about a command.TOOL VERSION STATUS AUTH SCHEMA JSONL cmdhub dev update available session yes yes gcal 0.0.3 not installed oauth yes yes gmail 0.0.5 not installed oauth yes yes signal 0.0.1 not installed device_link yes yes slack 0.0.3 not installed oauth yes yes Next steps: - Run: cmdhub get gcal - Installed: cmdhub installed - Update: cmdhub update
cmdhub dev Next steps: - Doctor: cmdhub doctor - List: cmdhub list
diagnostics
Telemetry: disabled
Pending: {count}
Next steps:
- Flush: cmdhub telemetry flush
- Enable: cmdhub telemetry enableschemas
Schema: cmdhub.tool.list.v1.output (cmdhub tool list output) Required: name, latest_version, status Optional: display_name, auth_mode, installed, installed_version, command_schema, jsonl Fields: auth_mode Authentication mode name Tool command name status Install/update state
alt_route Composition Patterns
Bridge your ecosystem with zero middleware.
# Install the current suite, then inspect what is available
cmdhub auth login
cmdhub get gmail gcal gdrive mscal msdrive mstodo msoutlook slack notion agent
cmdhub list