Account & Context Commands Overview

Stallion CLI account and context commands - Check who is logged in and set a default org and project so every command runs with fewer flags and prompts.

Available in stallion-cli@2.6.0-alpha.2:

The account & context commands are currently available in stallion-cli@2.6.0-alpha.2. Install it with:

npm install -g stallion-cli@2.6.0-alpha.2

Stallion CLI commands operate on an organization and a project. Instead of passing --org-id and --project-id to every command (or answering prompts each time), you can save a default context once and let every subsequent command pick it up automatically.

Three commands manage your account session and context:

CommandAliasWhat it does
stallion whoamimeShow the logged-in user, their organizations, and the active context
stallion useuSet the default org and project used by other commands
stallion contextctxShow or clear the saved context

Typical Workflow

# 1. Log in (opens the browser)
stallion login

# 2. Pick your default org and project (interactive)
stallion use

# 3. Verify what is set
stallion whoami

# 4. Run any command — no --org-id / --project-id needed
stallion list-buckets

Tip:

The saved context is a default, not a lock. Any command that accepts --org-id or --project-id can override it for a single run, and you can switch anytime with stallion use.