v0.1.2
🚀 confb v0.1.2 — Default Config Quality-of-Life
This release makes confb simpler to use out of the box by introducing a default configuration path and aligning the CLI, man pages, and docs accordingly.
✨ What’s New
- Default config path: if
-c/--configis not provided,confbnow uses:You can still override via~/.config/confb/confb.yaml-corCONFB_CONFIG=/path/to/confb.yaml. - Env & expansion support:
~and environment variables are expanded;CONFB_CONFIGrespected. - Help & man pages updated:
--helpand generated man pages document the default path and examples without-c. - Docs refresh: README and GitHub Pages index simplified for a TL;DR flow: install → copy sample → build/run.
🛠 Changes
internal/cli/root.go: add robust default config resolution; expand~/env; document defaults.internal/cli/build.go: useresolveConfig(); updated Long/Example; keep per-target plan+merge.internal/cli/run.go: useresolveConfig(); document precedence-c > CONFB_CONFIG > default.internal/cli/validate.go: useresolveConfig(); add--trace/--listexamples.README.md: quick start now usesconfb build/confb runwithout-c.docs/index.md: concise landing with the same defaults and TL;DR.
📦 Installation
sh -c "$(curl -fsSL https://raw.githubusercontent.com/nekwebdev/confb/main/scripts/install.sh)"Create your config and go:
cp ~/.config/confb/confb.sample.yaml ~/.config/confb/confb.yaml
confb build
confb run --verbose
# optional:
systemctl --user enable --now confb.serviceDefault config path:
~/.config/confb/confb.yaml. Override with-corCONFB_CONFIG.
🔖 License
Released under GPLv3.
Changelog
- 7552656: docs: shorten GitHub Pages index for better layout balance (@nekwebdev)
- 9d570fe: docs: simplify TL;DR; default config path; override via -c or CONFB_CONFIG (@nekwebdev)
- 2ac1adf: docs: typo fix remnent of old memory... (@nekwebdev)
- b042219: feat(cli): default config fallback + env var + help/man updates (@nekwebdev)