CLI API Reference
A complete reference for the straion CLI. Install it with npm install -g @straion/cli — see the Getting Started guide for full setup instructions.
straion
Section titled “straion”Running straion with no subcommand opens the interactive dashboard. If you are not logged in, it starts the login flow. If you are already logged in, it shows your current status and next steps.
straionstraion login
Section titled “straion login”Authenticate with your Personal Access Token. On success, credentials are stored securely on your machine and the selected organization is set as the default.
straion login [options]Options
| Option | Description |
|---|---|
--org <subdomain> | Organization subdomain to activate after login — skips the org selection prompt |
Examples
# Interactive loginstraion login
# Select org in one stepstraion login --org acmestraion logout
Section titled “straion logout”Clear stored credentials and reset the active organization.
straion logoutstraion setup
Section titled “straion setup”Configure your coding agents (Claude Code, Cursor, GitHub Copilot, etc.) to use Straion. Runs an interactive wizard that installs the required skills and hooks for each agent you select.
straion setupstraion switch
Section titled “straion switch”Change the active organization. With no flags, an interactive selector is shown.
straion switch [--org <subdomain>]Options
| Option | Description |
|---|---|
--org <subdomain> | Organization subdomain to switch to directly — skips the interactive selector |
Examples
# Interactive org selectorstraion switch
# Non-interactivestraion switch --org acmeGlobal Options
Section titled “Global Options”These options are available on every command.
| Option | Description |
|---|---|
--version | Print the installed CLI version |
--help | Show help for any command |
--token <token> | Personal Access Token — use this to pass a token directly without logging in |