Account & diagnostics

doctor

Full health check of your CLI environment: auth, backend, env vars, configured aliases, all linked dirs, projects, version.

loguro doctor
FlagDescription
--scanDiscover all .loguro files on disk (walks ~/Desktop, ~/code, ~/work, ~/projects, …)
--scan-root <path>Custom scan root
--jsonMachine-readable output for tooling
loguro doctor --scan
loguro doctor --scan-root ~/dev/work
loguro doctor --json | jq '.indexedLinks'

Linked directories are recorded automatically when you run loguro link or loguro init. The index lives at ~/.config/loguro/links.json and prunes itself when files are deleted.

usage

Current month usage and plan caps:

loguro usage                       # current period quota + caps
loguro usage --history             # recent billing periods

billing

Subscription, current plan, and available upgrades:

loguro billing

tokens

Manage your CLI tokens (PATs):

loguro tokens list                 # CLI tokens (PATs)
loguro tokens create --name=ci     # → pat_… shown ONCE
loguro tokens delete <id> --yes

PATs created with --name=ci are conventional CI tokens — there’s no special restriction, the name is just for your bookkeeping.

projects

List, create, rename, and delete projects:

loguro projects                                     # list
loguro projects create                              # interactive (offers to chain key + link)
loguro projects create "My API" --with-key=server --link
loguro projects create "Web App" --with-key=front --keyType=browser \
                                  --origin=https://example.com --origin=http://localhost:3000
FlagDescription
--with-key <name>Chain key creation after project creation
--keyType <server\|browser>Type of the chained key (default: server)
--origin <url>Allowed origin for browser keys (repeatable, required for browser type)
--linkLink the current directory to the new project

keys

Manage project ingestion keys (used by your SDK):

loguro keys create happy-otter --name=server                   # → server key, default; → shown ONCE
loguro keys create happy-otter --name=web --type=browser \
                               --origin=https://app.example.com \
                               --origin=https://staging.example.com

Project secrets are shown only once at create time — copy them immediately.

// related

See also