sh
https://github.com/mvdan/sh
Go
A shell parser, formatter, and interpreter with bash support; includes shfmt
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Go not yet supported2 Subscribers
Add a CodeTriage badge to sh
Help out
- Issues
- `indent_style = space` in .editorconfig is not respected by shfmt
- Allow building with Tinygo
- Formatting suggestion: if-blocks with multiple conditions
- Runner.Subshell() returns Runner with empty Env and Vars
- syntax: printer breaks certain arithmetic expressions
- cmd/shfmt: provide a jsonschema for --to-json and --from-json
- cmd/shfmt: Files with non-shell extension excluded
- read builtin: implement -a, -s, -n, -N and -d
- cmd/shfmt: replaces symlinks with regular files
- interp: unexpected array variable and subshell interaction
- Docs
- Go not yet supported