beautysh

A Bash script beautifier and formatter for consistent code style

brewmacoslinux
Try with needOr install directly
Source

About

Bash beautifier

Commands

beautysh

Examples

Format a Bash script in-place$ beautysh script.sh
Format a script and display output without modifying the file$ beautysh --check script.sh
Format a script with custom indentation (4 spaces)$ beautysh -i 4 script.sh