Workspaces CLI
Command-line interface for the Burdenoff Workspaces platform.
This is a thin product shell over @burdenoff/cli-sdk. All command logic lives in the SDK; this repo only provides product-specific defaults and selects which SDK modules to mount.
Installation
npm install -g @burdenoff/workspaces-cli # or: bun add -g @burdenoff/workspaces-cli
workspaces --version
Run without installing:
npx @burdenoff/workspaces-cli --help
The package installs two equivalent commands, workspaces and workspaces-cli.
Releasing
Releases are CalVer (YYYY.MDD.PATCH) and go through .github/workflows/release.yml,
the shared algoshred/dev release workflow. Push a CalVer tag on a commit that is on
main, or dispatch the workflow from the Actions tab with an empty version to take
today's next free patch. The version is stamped at publish time and never committed
back, so package.json keeps a placeholder. See
dev/platform/context/delivery/cicd/HOW_TO_RELEASE_CLIENT_PACKAGES.md.
Development
bun run dev # run from source
bun run test # unit tests (mock-based, no network calls)
bun run test:coverage # coverage report
bun run sanity # format + lint + type-check + test + build
Usage
# Log in via OAuth2 device code flow (opens a browser approval page)
workspaces auth login
# Or authenticate as an app with client credentials
workspaces auth login --client-credentials --workspace-id <workspace-id>
# Select the active workspace
workspaces workspace set <workspace-id>
# List available workspaces
workspaces workspace list
# See all commands
workspaces --help
Configuration
Configuration is stored in ~/.config/workspaces-cli/.
The CLI defaults to production endpoints:
- Workspaces GraphQL:
https://graphqlworkspaces.burdenoff.com/workspaces/graphql - Global GraphQL:
https://graphql.burdenoff.com/global/graphql
Override via environment variables only:
WORKSPACES_WORKSPACE_ENDPOINT=http://localhost:4003/workspaces/graphql \
WORKSPACES_GLOBAL_ENDPOINT=http://localhost:4000/global/graphql \
workspaces workspace list
License
Proprietary — Burdenoff Consultancy Services Pvt. Ltd.