Shell Programming
Follow shell-style-guide.md for all formatting, naming, syntax, and documentation rules.
Tech Stack
- •Testing: Bats-core
- •Static analysis / linter: ShellCheck
General Rules
- •Always run health checks: static analysis, tests, make sure everything pass.
- •Requires
shellcheckandbatsinstalled. If not available, offer to install via Homebrew (ask user for confirmation first).
Run health checks:
bash
shellcheck script.sh bats script.test.bats