avx-cli-0.1.0 is not a library.
avx-cli
Command-line tools for Avila Experience Fabric
Command-line interface for managing, deploying, and monitoring AVX (Avila Experience) platform services. Provides developer-friendly tools for configuration, testing, and operations.
Installation
Via Cargo (Recommended)
Download Pre-built Binaries
Download from GitHub Releases:
- Windows:
avx-mcp-windows-x64.zip - Linux:
avx-mcp-linux-x64.tar.gz - macOS:
avx-mcp-macos-x64.tar.gz
Extract and add to your PATH.
From Source
Note: Package not yet published to crates.io. Use the methods above.
Quick Start
# Show version and help
# Initialize new AVX project
# Check configuration
# Start local development
# Deploy to production
Commands
Project Management
# Initialize new project
# Available templates:
# - gateway: API gateway setup
# - service: Microservice template
# - quantum-render: Quantum renderer project
# - full-stack: Complete AVX application
# Generate new component
Configuration
# Validate configuration files
# Show current configuration
# Set configuration value
# List all config keys
Development
# Start development server with hot reload
# Run with specific environment
# Run tests
# Lint code
# Format code
Deployment
# Deploy to environment
# Deploy specific service
# Rollback deployment
# Show deployment status
Monitoring
# Show logs
# Show metrics
# Health check
# Performance analysis
Gateway Management
# Add route to gateway
# List routes
# Test route
# Reload configuration
Telemetry
# View real-time traces
# Export traces
# Analyze anomalies in time series
# Generate performance report
Configuration File
avx-cli looks for configuration in:
./avx.toml(project-specific)~/.avx/config.toml(user-specific)/etc/avx/config.toml(system-wide)
Example avx.toml:
[]
= "my-avx-app"
= "0.1.0"
[]
= 8080
= true
[]
= [
{ = "/api/users", = "http://localhost:8001" },
{ = "/api/products", = "http://localhost:8002" },
]
[]
= true
= "debug"
= "console"
[]
= "staging"
[]
= "prod.avila.cloud"
= "us-east-1"
Environment Variables
Override configuration with environment variables:
Examples
Initialize Full-Stack Project
Deploy with Custom Config
Monitor Logs in Real-Time
Analyze Performance
# Find slow requests
# Show latency percentiles
# Trace specific request
Integration with AVX Ecosystem
The CLI integrates with all AVX components:
- avx-gateway: Route management, health checks
- avx-config: Configuration validation and management
- avx-telemetry: Log viewing, metrics, tracing
- avx-quantum-render: Render job management
Plugins
Extend functionality with plugins:
# Install plugin
# List plugins
# Use plugin
Shell Completion
Generate shell completion scripts:
# Bash
# Zsh
# Fish
# PowerShell
Development
Build from source:
License
MIT OR Apache-2.0
See LICENSE-MIT and LICENSE-APACHE for details.
Links
- Repository: https://github.com/avilaops/arxis
- Documentation: https://docs.rs/avx-cli
- Crates.io: https://crates.io/crates/avx-cli
- AVX Platform: https://avila.cloud
Support
- Issues: https://github.com/avilaops/arxis/issues
- Email: nicolas@avila.inc
- Discussions: https://github.com/avilaops/arxis/discussions