aitaxadvise-admin
v1.0.2
Published
AITaxAdvise admin CLI - platform management for AI tax advisory. Tenant CRUD, user management, billing, support, audit.
Maintainers
Readme
AITaxAdvise Admin CLI
Platform administration for AITaxAdvise.com from the terminal.
Quick Start
npm install -g aitaxadvise-admin
tax login --key YOUR_SA_API_KEY
tax statsCommands
Setup
| Command | Description |
|---------|-------------|
| tax login [--key KEY] | Save API key (interactive or flag) |
| tax login --local | Save to project-local config |
| tax logout | Remove saved API key |
| tax me | Show current account info |
| tax config | Show config locations and active source |
Dashboard
| Command | Description |
|---------|-------------|
| tax stats | Platform overview (tenants, users, consultations) |
| tax revenue | MRR, ARR, total revenue, fees, payouts |
| tax funnel | Signup funnel with conversion rates |
| tax signups [--days 7] | Recent signups |
Admin (14 subcommands)
| Command | Description |
|---------|-------------|
| tax admin tenants | All tenants table |
| tax admin tenant-view SLUG | Full tenant detail |
| tax admin tenant-create SLUG [--plan X] [--email X] | Provision tenant |
| tax admin tenant-plan SLUG --plan X | Change plan |
| tax admin tenant-verify SLUG | Bypass payment verification |
| tax admin tenant-suspend SLUG | Suspend tenant |
| tax admin tenant-activate SLUG | Reactivate tenant |
| tax admin tenant-delete SLUG | Delete tenant + all data |
| tax admin users | List all users |
| tax admin user-create --email X -p X | Create user |
| tax admin user-reset EMAIL -p NEWPASS | Reset password |
| tax admin user-delete EMAIL | Delete user |
| tax admin billing | Revenue summary |
| tax admin discount CODE [--months 3] | Create discount code |
Support
| Command | Description |
|---------|-------------|
| tax tickets [--status open] | List tickets |
| tax ticket show NUMBER | Ticket detail |
| tax ticket reply NUMBER MESSAGE | Reply to ticket |
| tax ticket close NUMBER | Close ticket |
Platform
| Command | Description |
|---------|-------------|
| tax audit [--tenant X] [--days 30] | Activity trail |
| tax notifications [--since ISO] | Recent activity feed |
| tax settings | Platform settings |
| tax settings roadmap --public true | Toggle roadmap |
| tax settings branding --logo URL | Set CDN logo |
Keys
| Command | Description |
|---------|-------------|
| tax key | Show API key info |
| tax key rotate | Rotate key |
| tax key revoke | Revoke key |
System
| Command | Description |
|---------|-------------|
| tax health | Server health check |
| tax reset --confirm | Wipe all data (DANGEROUS) |
| tax mcp-serve | Start MCP server for Claude Code |
| tax version | Show CLI version |
| tax help | Show all commands |
Flags
| Flag | Description |
|------|-------------|
| --key KEY | API key (overrides env/config) |
| --url URL | Base URL (default: https://aitaxadvise.com) |
| --json | Output raw JSON |
| --help | Show help |
Config Priority
--keyflag (highest)TAX_ADMIN_KEYenvironment variable./.tax-admin/config.json(project-local)~/.tax-admin/config.json(global, lowest)
MCP Server (Claude Code)
Add to .mcp.json:
{
"mcpServers": {
"aitaxadvise": {
"type": "stdio",
"command": "tax",
"args": ["mcp-serve"]
}
}
}License
Proprietary - Tyga.Cloud Ltd. See LICENSE file.
