@inquir/compute-cliv0.3.0 · Node.js 22+
Usage#
inquir loginbash
inquir login [options]
Options#
| Option | Description |
|---|---|
--token <pat> | Sign in non-interactively with a PAT. |
--browserless | Print the pairing URL and code without opening a browser. |
--name <name> | Label this device/token in the dashboard. |
--api-url <url> | Authenticate against this API endpoint. |
--env <name> | Use a named CLI credential environment. |
Global flags, environments and CLI credentials ↗
Examples#
Example 1bash
inquir login
Example 2bash
inquir login --browserless
Example 3bash
inquir login --name ci-runner
Behavior#
Complete browser pairing with the displayed code. Use a named environment for a separate API or account.