earthly-config-cli
v1.0.0
Published
CLI tool for managing Earthly CI/CD build tool configuration
Readme
earthly-config-cli
CLI tool for managing Earthly CI/CD build tool configuration
Installation
npm install -g earthly-config-cliUsage
Initialize configuration
earthly-config init
earthly-config init --template advanced
earthly-config init --output custom-config.jsonValidate configuration
earthly-config validate
earthly-config validate path/to/config.jsonView configuration
earthly-config show
earthly-config show --env production
earthly-config show --jsonModify configuration
earthly-config set settings.debug true
earthly-config set settings.logLevel \"warn\"Compare configurations
earthly-config diff config-dev.json config-prod.jsonList templates
earthly-config templatesTemplates
| Template | Description |
|----------|-------------|
| minimal | Bare minimum configuration |
| standard | Recommended defaults for most projects |
| advanced | Full-featured with security, caching, and multi-environment support |
Why earthly-config-cli?
- Zero dependencies at runtime — just
commanderandchalk - Template-based — start with minimal, standard, or advanced presets
- Validation built-in — catch config errors before deployment
- Environment-aware — manage dev/staging/production configs in one file
- Diff support — compare configs across environments
License
MIT
