Appearance
Cortex CLI Features
Cortex CLI provides a rich set of features to enhance your development workflow. This page highlights the key capabilities available to you.
Command Categories
Testing
Cortex CLI provides robust testing capabilities:
bash
# Run a single test
cortex test ./test-file.yml
# Run multiple tests
cortex test ./tests/
# Run tests with specific tags
cortex test --tags=api,integration
Authentication
Secure authentication mechanisms to protect your resources:
bash
# Log in to your account
cortex auth login
# Generate an API token
cortex auth token create
# Manage authentication settings
cortex auth config
Linting
Ensure your code meets quality standards:
bash
# Lint a file or directory
cortex lint ./src/
# Apply auto-fixes where possible
cortex lint --fix ./src/
Advanced Features
Custom Extensions
Extend Cortex CLI with plugins:
bash
# Install a plugin
cortex plugin install my-plugin
# List installed plugins
cortex plugin list
Automation
Automate workflows with scripts and CI/CD integration:
bash
# Run a command in CI mode
cortex test --ci ./tests/
# Generate a report
cortex report generate --format=json
Configuration Management
Manage configuration across environments:
bash
# Set a configuration value
cortex config set key=value
# View current configuration
cortex config list
Performance
Cortex CLI is designed for performance:
- Fast Startup: Minimal initialization time
- Parallel Processing: Run tasks concurrently
- Resource Efficient: Low memory footprint
Integrations
Cortex CLI integrates seamlessly with:
- Version control systems (Git)
- CI/CD platforms (GitHub Actions, Jenkins, GitLab CI)
- Development environments and IDEs