CLI
capxul whoami
you, who you're acting as, environment
Runs in: devnet · staging · production · Moves money: no
Usage
capxul whoami [flags]Flags
| Flag | Type | Required | Description |
|---|---|---|---|
--email | string | no | show who acts for a command run with this --email |
Every command also takes the global flags.
Examples
# Show where you are, from this machine only
$ capxul whoami
# The same, with where each value came from
$ capxul whoami --json
# Who a command with --email sam@acme.test acts as
$ capxul whoami --email sam@acme.testReturns
The data of the result that --json prints:
Where: { user, actingAs, safe, env }Errors
| Code | Exit code |
|---|---|
CLI_USAGE | 2 |
CLI_CONFIG | 2 |
CLI_STORAGE | 2 |
CLI_DEFECT | 1 |
EXPERIMENTAL_NOT_ACCEPTED | 2 |
ENVIRONMENT_NOT_CHOSEN | 2 |
CAPABILITY_UNAVAILABLE | 6 |
Generated from capxul schema whoami.