shell-workflow
Installation
SKILL.md
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.
Shell Script Workflow
Tool Grid
| Task | Tool | Command |
|---|---|---|
| Lint | shellcheck | shellcheck *.sh |
| Format | shfmt | shfmt -w *.sh |
| Coverage | bashcov | bashcov ./test.sh |
Shebang
Scripts MUST use the portable shebang:
#!/usr/bin/env bash