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
Examples
Not logged in or your session expired?
whoami exits with an error — run
ollieshop login to refresh your credentials.