sneferu whoami
Show the account, key and dev store the CLI uses. Usage, options, output, exit codes and errors.
On this page
Show the account, key and dev store the CLI uses.
Prints who push would act as. It reads the saved developer key (or HEKANA_TOKEN) and asks the API about it, so a saved key needs network.
Requirements: Needs network when signed in.
Usage
sneferu whoamiArguments
None.
Options
None.
Examples
sneferu whoamiCheck the current sign-in.
Output
sneferu whoami (exit 1): With no saved key and no HEKANA_TOKEN. The signed-in output needs your account and is not shown.
✖ Not logged in. Run sneferu loginExit codes
| Code | Meaning |
|---|---|
0 | Signed in; account details were printed. |
1 | Not signed in, or the API did not answer. |
Common errors
✖ Not logged in. Run sneferu login
No saved key and no HEKANA_TOKEN. Run sneferu login, or set HEKANA_TOKEN.
