Commands Overview
NthLayer provides a comprehensive CLI for managing your reliability stack.
Generation Commands
| Command | Description |
nthlayer apply | Generate all configs from service spec |
nthlayer plan | Preview what resources would be generated (dry-run) |
nthlayer generate-dashboard | Generate Grafana dashboard |
nthlayer generate-alerts | Generate Prometheus alerts |
nthlayer generate-recording-rules | Generate Prometheus recording rules |
nthlayer generate-loki-alerts | Generate Loki LogQL alerts |
Validation Commands
Dependency Intelligence
SLO & Error Budget
Environment Management
| Command | Description |
nthlayer environments | List available environments |
nthlayer diff-envs | Compare configurations between environments |
nthlayer validate-env | Validate an environment configuration |
Setup & Configuration
Quick Reference
# Generate configs
nthlayer apply service.yaml
# Validate before deployment
nthlayer verify service.yaml --prometheus-url http://prometheus:9090
nthlayer validate-slo service.yaml
# View dependencies
nthlayer deps service.yaml
nthlayer blast-radius service.yaml
# Check deployment readiness
nthlayer check-deploy service.yaml
# View portfolio health
nthlayer portfolio
# Check SLO status
nthlayer slo show service.yaml
Getting Help
nthlayer --help
nthlayer <command> --help
See Also