@boldtech/cli
v0.2.0
Published
Bold CLI — interact with Bold from your terminal
Readme
@boldtech/cli
Bold CLI — interact with Bold from your terminal.
npm i -g @boldtech/cli
bold --helpUsage
bold auth # Authenticate with Bold
bold companies list # List your companies
bold actions list # List actions for the active company
bold actions get <id> # Show action details
bold actions create --title "..." # Create a new action
bold users list # List the company's collaborators
bold users onboard <email> --role "Admin" # Invite a collaborator with a role
bold roles list # List the company's roles
bold roles create --name "..." # Create a role, then add privileges to itSee bold help for the full command reference.
Authentication
The CLI uses a browser-based OAuth flow. Run bold auth to sign in.
Configuration
bold config set company <id> # Set the active company
bold config get company # Show the active company
bold config list # Show full configurationOutput
By default, the CLI outputs JSON (non-interactive) or tables (TTY). Use --output json or --output table to override.
Development
node bin/bold.js --help
npm test # runs the suite with an isolated config home (see scripts/hermetic-config-home.js)Run the tests via npm test, not raw node --test: the suite must be launched
through the --import preload that isolates ~/.bold, otherwise a logged-in
developer's stale credentials make the authenticated-command tests fail.
License
Proprietary — Bold SO
