This document will work as a reference for commands available at your disposal when you use the tool locally.

What options are available?

Specify the amount of spaces you wish to indent with. Please note you can not use spaces if you use tabs and vice versa!
using -s or --spaces
Specify the amount of tabs you wish to indent with.
using -t or --tabs
Scan recursively
You can instruct nginxbeautifier to scan and beautify the directory recursively using -r or --recursive, indenting all the files. Note, this edits your actual files so be careful and always backup. This option is acctualy optional, if you put * at the end of the path.
Optionally, you can instruct nginxbeautifier which file/directory is the input using -i or -input, and also define the output.
its optional because you can also just specify the file/directory path right after all the arguments without the -i.
Same as with input, Optionally instruct nginxbeautifier where to output the resulting files if you don't want it to replace
The exsisting files using -o or -output and the path right after.
Full Examples:
nginxbeautifier -s 4 /etc/nginx/sites-enabled/*
nginxbeautifier -t 4 /etc/nginx/sites-enabled/*
nginxbeautifier -s 4 -r /etc/nginx/sites-enabled/
nginxbeautifier -s 4 -r -i /etc/nginx/sites-enabled/ -o /etc/nginx/sites-enabled-new/