onboarding and
contacts-import.
account is a platform-mode command (platform mode is the default). Run
landbase-cli auth login first — account list and
account set call the platform to read your memberships. See
platform mode vs. legacy mode.account
Print the currently active account as JSON. This reads the stored config only — no network call — so it is safe to run even with an expired session. Usage{ accountId, source }, where source is "config" when an account is
set or "none" when it isn’t. See output schemas.
account list
List every account the current user can access, marking which one is active. Usage{ accounts: [{ id, name, role, current }] }. current reflects the
account the CLI would use right now. See
output schemas.
account set
Set the active account and persist it to~/.landbase/platform.json. Run it
with no arguments — the CLI lists the accounts you can access and prompts you to
pick one. Your choice is saved, so you only do this once per machine.
Usage
--account=<id> flag instead (see below).
Flags
| Flag | Default | Description |
|---|---|---|
--account=<id> | — | Override the active account for a single command, without persisting it |
--verbose | — | Print request/response details to stderr |

