Skip to content

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.


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.

straion

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

OptionDescription
--org <subdomain>Organization subdomain to activate after login — skips the org selection prompt

Examples

Terminal window
# Interactive login
straion login
# Select org in one step
straion login --org acme

Clear stored credentials and reset the active organization.

straion logout

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 setup

Change the active organization. With no flags, an interactive selector is shown.

straion switch [--org <subdomain>]

Options

OptionDescription
--org <subdomain>Organization subdomain to switch to directly — skips the interactive selector

Examples

Terminal window
# Interactive org selector
straion switch
# Non-interactive
straion switch --org acme

These options are available on every command.

OptionDescription
--versionPrint the installed CLI version
--helpShow help for any command
--token <token>Personal Access Token — use this to pass a token directly without logging in