htmx-config-cli
v1.0.0
Published
htmx project configuration and scaffolding CLI tool
Downloads
130
Maintainers
Readme
htmx-config-cli
htmx project configuration and scaffolding CLI tool
Installation
npm install -g htmx-config-cliUsage
Initialize configuration
htmx-config init
htmx-config init --template advanced
htmx-config init --output custom-config.jsonValidate configuration
htmx-config validate
htmx-config validate path/to/config.jsonView configuration
htmx-config show
htmx-config show --env production
htmx-config show --jsonModify configuration
htmx-config set settings.debug true
htmx-config set settings.logLevel \"warn\"Compare configurations
htmx-config diff config-dev.json config-prod.jsonList templates
htmx-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 htmx-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
