mix bash.format (Bash v0.6.0)

Copy Markdown View Source

Formats Bash script files.

Usage

mix bash.format [options] file1.sh file2.sh

Options

  • --indent - indentation style, either spaces or tabs (default: spaces)
  • --indent-width - number of spaces per indent level (default: 2, ignored for tabs)
  • --wrap - max line length before wrapping (default: 80)

Formats each file in place using Bash.format_file/2.