shfmt

Install command:
brew install shfmt

Autoformat shell script source code

https://github.com/mvdan/sh

License: BSD-3-Clause

/api/formula/shfmt.json (JSON API)

/api/bottle/shfmt.json (Bottle JSON API)

Formula code on GitHub

Bottle (binary package) installation support provided for macOS releases:

Intel big sur
catalina
mojave
Apple Silicon big sur

Current versions:

stable 3.3.0
head ⚡️ HEAD

Depends on when building from source:

go 1.16.5 Open source programming language to build simple/reliable/efficient software
scdoc 1.11.1 Small man page generator

Analytics:

Installs (30 days)
shfmt 2,982
shfmt --HEAD 3
Installs on Request (30 days)
shfmt 2,627
shfmt --HEAD 3
Build Errors (30 days)
shfmt 0
Installs (90 days)
shfmt 5,798
shfmt --HEAD 6
Installs on Request (90 days)
shfmt 5,120
shfmt --HEAD 6
Installs (365 days)
shfmt 21,484
shfmt --HEAD 17
Installs on Request (365 days)
shfmt 19,419
shfmt --HEAD 17
Fork me on GitHub