Skip to content

idleberg/node-dent-cli

Repository files navigation

@nsis/dent-cli

An opinionated code formatter for NSIS scripts

License Version Build

Prerequisites

This is a TypeScript application that depends on a NodeJS runtime installed on your computer.

Usage

Installation

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 --help

Single use

Download and execute the latest version using npx.

$ npx @nsis/dent-cli --help

Options

Usage: 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)

Related

License

This work is licensed under The MIT License

About

An opinionated code formatter for NSIS scripts

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors