@duabalabs/sellub-cli
sellub — command-line tool for operators. Useful for one-off catalog
imports, channel inspections and subscription debugging.
Status: 0.2.0 —
login,doctor,channels listandsubscriptions checkare wired to the Sellub Admin API and DPS. Catalog import is planned.
Install
pnpm add -g @duabalabs/sellub-cli
# or
npx @duabalabs/sellub-cli helpCommands
sellub help
sellub version
sellub login Configure server URL + tokens (writes ~/.sellub/config.json)
Flags: --server-url --admin-token --dps-server-url
--dps-app-id --dps-master-key --yes
sellub doctor Environment and connectivity smoke tests
sellub channels list List Vendure channels (needs an admin token)
sellub subscriptions check <email> [--app <appId>]
Check subscription status via DPSConfiguration
Run sellub login once. It writes ~/.sellub/config.json (mode 0600) with the Sellub server
URL, an admin token, and the DPS details subscriptions check uses. Every command reads that
file; there are no environment-variable overrides.
sellub login --server-url https://api.sellub.com --admin-token <token>
sellub doctor
sellub channels listPlanned
# Import products from a CSV (dry-run first)
sellub catalog import products.csv --dry-runWhy a CLI?
Operators sometimes need to do things the dashboard doesn’t surface fast
enough — bulk imports, ad-hoc subscription queries, smoke tests against a
new environment. The CLI gives those workflows an interface that’s
scriptable and CI-friendly without reaching for curl.
Related
sellub-client— the underlying typed client. The CLI is a thin wrapper that prints results.- DPS API — the subscription endpoint
subscriptions checkwill call.