@anzar-auth/anzar
v0.4.3
Published
Anzar is a lightweight authentication and authorization framework that runs as a separate microservice
Maintainers
Readme
Anzar CLI
Anzar is a lightweight authentication and authorization framework designed to run as a separate microservice. It provides tools to initialize, configure, and manage your project’s authentication system with ease.
Features
- Lightweight and modular
- Easy setup for any project
- Database schema generation and migration support
- Service status monitoring
- Simple CLI commands for developers
Installation
Install Anzar globally using npm (or your preferred package manager):
npm install -g @anzar-auth/anzarUsage
Anzar provides a command-line interface to manage your authentication service.
anzar <COMMAND> [OPTIONS]Commands
| Command | Description |
|---------------|---------------------------------------------------|
| init | Initialize Anzar for your project |
| check | Check current configuration and setup |
| status | Show Anzar service status |
| generate | Generate database schemas |
| migrate | Apply database migrations |
| help | Print this message or the help of a subcommand |
Options
| Option | Description |
|------------------|---------------------------------------------------|
| -h, --help | Print help |
| -V, --version | Print version |
Examples
Initialize a new Anzar project:
anzar initCheck your current configuration:
anzar checkGenerate database schemas:
anzar generateApply pending migrations:
anzar migrateShow the current service status:
anzar statusGet help for a specific command:
anzar help migrate