An opinionated code formatter for NSIS scripts
This is a TypeScript application that depends on a NodeJS runtime installed on your computer.
Tip
If you don't use a JavaScript runtime such as Node.js, download a binary of the latest version for Windows.
You could install the dent CLI globally
$ npm install --global @nsis/dent-cli
$ npx dent --helpDownload and execute the latest version using npx.
$ npx @nsis/dent-cli --helpUsage: dent [options] <file...>
CLI tool to format NSIS scripts
Options:
-V, --version output the version number
-D, --debug prints additional debug messages (default: false)
-h, --help display help for command
Formatting Options
-e, --eol <"crlf"|"lf"> control how line-breaks are represented (default: "lf")
-i, --indent-size <number> number of units per indentation level (default: 2)
-s, --use-spaces indent with spaces instead of tabs (default: false)
-t, --trim trim empty lines (default: true)
-w, --write edit files in-place (default: false)
This work is licensed under The MIT License