shfmt
A shell script formatter supporting POSIX sh, Bash, and mksh
Miscellaneous
Go
shfmt formats shell programs. It supports POSIX Shell, Bash, and mksh, and can detect the shell variant from shebangs.
安装
brew
brew install shfmt
相关工具
just
A handy way to save and run project-specific commands
watchexecExecute commands when watched files change
entrRun arbitrary commands when files change
miseDev tools, env vars, and task runner — polyglot rtx repla...
typosSource code spell checker that catches typos in code and ...
slA steam locomotive runs when you mistype ls
uvAn extremely fast Python package installer and resolver w...
ShellCheckA static analysis tool for shell scripts