Skip to main content

Quick Start (CLI Reference)

Get hands-on fast with the GrantFlow CLI. If you prefer a single-page guide with more examples, see the Getting Started page:

  • Getting Started → ../getting-started/cli.md

Authenticate

Login
grantflow login

Follow the device code prompt in your browser. Tokens are cached in ~/.grantflow/token-cache.json.

List roles

List Roles
grantflow roles list --output table

Request an activation

Request Activation
grantflow activations request <ROLE_ID> --duration 60 --reason "Routine maintenance"

See more

For scripting, batching, retries, and advanced options, the complete guide is here:

  • CLI Getting Started → ../getting-started/cli.md