dockerfile-gen-cli
v1.0.0
Published
CLI tool for dockerfile-gen
Readme
dockerfile-gen-cli
CLI tool for dockerfile-gen
Installation
npm install -g dockerfile-gen-cliUsage
Initialize configuration
dockerfile-gen init
dockerfile-gen init --template advanced
dockerfile-gen init --output custom-config.jsonValidate configuration
dockerfile-gen validate
dockerfile-gen validate path/to/config.jsonView configuration
dockerfile-gen show
dockerfile-gen show --env production
dockerfile-gen show --jsonModify configuration
dockerfile-gen set settings.debug true
dockerfile-gen set settings.logLevel \"warn\"Compare configurations
dockerfile-gen diff config-dev.json config-prod.jsonList templates
dockerfile-gen templatesTemplates
| Template | Description |
|----------|-------------|
| minimal | Bare minimum configuration |
| standard | Recommended defaults for most projects |
| advanced | Full-featured with security, caching, and multi-environment support |
Why dockerfile-gen-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
