Skip to content
Hekana Spray
Documentation
Getting started
Theme development
Components and tags

Localization

Apps and custom code

Examples and recipes
API reference
Publishing
Build apps
AI development

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

bash
sneferu whoami

Arguments

None.

Options

None.

Examples

bash
sneferu whoami

Check 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.

text
✖ Not logged in. Run sneferu login

Exit codes

CodeMeaning
0Signed in; account details were printed.
1Not 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.

Next steps