mozia-cli
v0.1.0
Published
Mozia Platform CLI for developer workflows
Readme
mozia-cli
Mozia Platform CLI for developer workflows and CI/CD.
Installation
npm install -g mozia-cliOr run with npx:
npx mozia-cli --helpQuick start
- Log in to your Mozia server:
mozia login- List your apps:
mozia apps list- Create a collection:
mozia collections create --app 1 --name postsCommands
| Command | Description |
|---------|-------------|
| mozia login | Authenticate (stores token in ~/.mozia/config.json) |
| mozia logout | Clear stored credentials |
| mozia config show | Display current config |
| mozia config set-server <url> | Set server URL |
| mozia apps list | List apps |
| mozia collections create | Create a collection |
| mozia records query | Query records |
| mozia push send | Send push notification |
Run mozia --help or mozia <command> --help for full options.
Configuration
- Config file:
~/.mozia/config.json - Environment:
MOZIA_CONFIG_DIR— Override config directory
Documentation
Full documentation: Mozia Docs - CLI
License
MIT
