13 releases
Uses new Rust 2024
| new 0.9.21 | Jun 12, 2026 |
|---|---|
| 0.9.20 | Jun 12, 2026 |
#200 in Authentication
340KB
9K
SLoC
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/anzar
Usage
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 init
Check your current configuration:
anzar check
Generate database schemas:
anzar generate
Apply pending migrations:
anzar migrate
Show the current service status:
anzar status
Get help for a specific command:
anzar help migrate
Dependencies
~108MB
~2M SLoC