@axiljs/cli
v0.3.2
Published
AxilJS CLI — axil create, run, build, test, deploy, doctor
Maintainers
Readme
@axiljs/cli
The official command-line interface for AxilJS.
Part of the AxilJS ecosystem.
Install
npm install -g @axiljs/cliCommands
Project Commands
axil create <name> # Create a new AxilJS project
axil run # Start dev server with hot reload
axil run src/mvc/main.ts # Start with a custom entry point
axil build # Compile TypeScript for production
axil test [pattern] # Run test files
axil deploy # Generate Docker + Kubernetes files
axil install [package] # Install an AxilJS package
axil doctor # Diagnose project issuesDecorator Commands
AxilJS provides a semantic decorator system with a comprehensive decorator catalog.
axil decorator list # List all available decorators
axil decorator list --category Security
# List decorators in a category
axil decorator info <name> # Show detailed decorator information
axil decorator search <query>
# Search decorators by name or description
axil decorator check <file>
# Check decorator composition and conflicts
axil decorator graph <file>
# Generate decorator metadata graph
axil decorator categories # Show all decorator categoriesCLI Information
axil --version # Show CLI version
axil --help # Show available commandsQuick Start
Create a new AxilJS project:
axil create my-api
cd my-api
npm install
axil runYour development server will start with hot reload enabled.
Decorator Catalog
The decorator catalog organizes AxilJS decorators into semantic categories, including:
- HTTP
- Security
- Data
- Reliability
- Concurrency
- Distributed
- Messaging
- Caching
- Observability
- Compliance
- Runtime
- AI
- Validation
- Contract
- Execution
- Workflow
You can inspect the catalog directly from the CLI:
axil decorator categoriesList all decorators:
axil decorator listInspect a specific decorator:
axil decorator info tAuthSearch the catalog:
axil decorator search authenticationCheck decorator composition:
axil decorator check src/controllers/user.controller.tsGenerate a decorator metadata graph:
axil decorator graph src/controllers/user.controller.tsDocumentation
Full documentation:
License
See the LICENSE file for license information.
