Skip to content
Docs

inquir whoami

Show the authenticated user and active workspace.

@inquir/compute-cliv0.3.0 · Node.js 22+

Usage#

inquir whoamibash
inquir whoami [options]

Options#

OptionDescription
--workspace <id|slug>Target this workspace within your credential permissions.
--env <name>Use a named CLI credential environment.
--jsonPrint machine-readable results.

Global flags, environments and CLI credentials

Examples#

Example 1bash
inquir whoami
Example 2bash
inquir whoami --workspace shop --json

Behavior#

Check this before operating on a resource that appears missing; you may be using another workspace or API.

Guides#