Commands
Quick Reference
| Command | Description |
|---|---|
login | Authenticate with Magenta |
logout | Clear stored credentials |
whoami | Display current user info |
status | Check login status |
tariffs | List all tariffs/contracts |
invoices list | List all invoices |
invoices get | Get invoice details |
invoices download | Download invoice as PDF |
config | Manage CLI configuration |
Global Options
These options are available on all commands:
| Option | Description |
|---|---|
-h, --help | Display help for the command |
-V, --version | Display CLI version (root command only) |
JSON Output
All commands support --json for machine-readable output:
bash
magenta whoami --json
magenta invoices list --json
magenta tariffs --json