@nsp-labs/agnostic-cli
v0.2.3
Published
Official Agnostic CLI for backend-mediated local workspace development.
Maintainers
Readme
Agnostic CLI
Official CLI package for backend-mediated local workspace development.
npm install -g @nsp-labs/agnostic-cliagnostic login
agnostic workspace clone <project-id> ./api --unit api
agnostic workspace status
agnostic workspace pull
agnostic workspace push -m "feat: update API" --buildworkspace clone writes the selected service/site files directly into the
destination folder. The CLI stores a non-secret path mapping in
.agnostic/workspace.json, so workspace push can be run from that folder
without repeating project or unit flags.
agnostic login uses https://api.agn0.ru/ by default. Pass --api-url only
when targeting a local or custom API, for example
agnostic login --api-url http://localhost:3000/api.
The local .agnostic/workspace.json stores only workspace metadata. API access
tokens and backend workspace tokens are stored in the user's home directory
under ~/.agnostic.
