npm.io
0.10.6 • Published 2 weeks agoCLI

@nsis/dent-cli

Licence
MIT
Version
0.10.6
Deps
5
Size
11 kB
Vulns
0
Weekly
0

@nsis/dent-cli

An opinionated code formatter for NSIS scripts

License Version Build

Installation

If you're living outside the NodeJS bubble, you probably want to use ardent instead, a compatible Rust implementation of this package in binary form.

Node.js

For single-use, use npx to download and run the CLI:

$ npx -y @nsis/dent-cli --help

Or, if you prefer to install the CLI:

$ npm install --global @nsis/dent-cli
$ dent --help
Homebrew
brew install idleberg/asahi/dent

Usage

The CLI exposes two sub-commands:

  • dent format — formats NSIS scripts
  • dent check — checks if a script needs formatting
Usage: dent [options] [command]

Opinionated formatter for NSIS scripts

Options:
  -V, --version               output the version number
  -D, --debug                 prints additional debug messages (default: false)
  -h, --help                  display help for command

Commands:
  format [options] [file...]  format NSIS scripts
  check [options] [file...]   check whether NSIS scripts are formatted (exits non-zero on drift)

Run dent --help to list sub-commands, or dent <command> --help for command-specific options.

License

This work is licensed under The MIT License.

Keywords