ollieshop whoami reports who you are currently logged in as. When the current
directory has an ollie.json, it also resolves the store and
organization that config points at — but only if your account has access to
them.
What it shows
- Inside a project
- No project config
- No access to the store
When an
ollie.json is present and you have access to its store:Store and organization access is enforced server-side.
whoami never reveals
a store you are not a member of — it simply reports it as not found.Options
| Flag | Description |
|---|---|
-o, --output json | Force JSON output (auto-selected when piped). |
--fields a,b,c | Limit the output to specific fields. |
-s, --stage <stage> | Read ollie.{stage}.json instead of ollie.json. |
Examples
Not logged in or your session expired?
whoami exits with an error — run
ollieshop login to refresh your credentials.