@nsis/dent-cli
An opinionated code formatter for NSIS scripts
Prerequisites
This is a TypeScript applicaiton that dependes on a NodeJS runtime installed on your computer.
Usage
Installation
You could install the dent
CLI globally
$ npm install --global @nsis/dent-cli
$ dent --help
Single use
Download and execute the latest version using npx
.
$ npx dent --help
Options
Usage: index [options] <file...>
CLI tool to format NSIS scripts
Options:
-V, --version output the version number
--eol <"crlf"|"lf"> control how line-breaks are represented
-i, --indent-size <number> number of units per indentation level (default: 2)
-s, --use-spaces indent with spaces instead of tabs (default: false)
--trim trim empty lines (default: true)
--write edit files in-place (default: false)
--quiet suppress output (default: false)
--debug prints additional debug messages (default: false)
-h, --help display help for command
Related
License
This work is licensed under The MIT License