3 ms·
Not one-liners, but some of the tools that I have found helpful for working with large bash codebases are: - shellcheck and shfmt for linting and formatting
by bfm 4y ago
Not one-liners, but some of the tools that I have found helpful for working with large bash codebases are:
- shellcheck and shfmt for linting and formatting
- sub for organizing subcommands
- bashdb for debugging scripts interactively via the VSCode extension
I'm still missing a way to share modules with others like it can be done with ansible/terraform, but I have not found an optimal way to do it yet.
[shellcheck] https://github.com/koalaman/shellcheck https://github.com/koalaman/shellcheck
[shfmt] https://github.com/mvdan/sh https://github.com/mvdan/sh
[sub] https://github.com/qrush/sub https://github.com/qrush/sub
[bashdb] http://bashdb.sourceforge.net/ http://bashdb.sourceforge.net/
[vscode-bash-debug] https://github.com/rogalmic/vscode-bash-debug https://github.com/rogalmic/vscode-bash-debug
- ttyprintk 4y agoThe bash customizations for fzf include a Ctrl-t interactive path completion. Works wonders on massive codebases.