@nsis/dent-cli 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +20 -1
  2. package/package.json +4 -3
package/README.md CHANGED
@@ -17,7 +17,7 @@ This is a TypeScript applicaiton that dependes on a [NodeJS](https://nodejs.org)
17
17
  You could install the `dent` CLI globally
18
18
 
19
19
  ```sh
20
- $ npm install --global @nsis/dent-cli`
20
+ $ npm install --global @nsis/dent-cli
21
21
  $ dent --help
22
22
  ```
23
23
 
@@ -29,6 +29,25 @@ Download and execute the latest version using [`npx`](https://medium.com/@maybek
29
29
  $ npx dent --help
30
30
  ```
31
31
 
32
+ ### Options
33
+
34
+ ```
35
+ Usage: index [options] <file...>
36
+
37
+ CLI tool to format NSIS scripts
38
+
39
+ Options:
40
+ -V, --version output the version number
41
+ --eol <"crlf"|"lf"> control how line-breaks are represented
42
+ -i, --indent-size <number> number of units per indentation level (default: 2)
43
+ -s, --use-spaces indent with spaces instead of tabs (default: false)
44
+ --trim trim empty lines (default: true)
45
+ --write edit files in-place (default: false)
46
+ --quiet suppress output (default: false)
47
+ --debug prints additional debug messages (default: false)
48
+ -h, --help display help for command
49
+ ```
50
+
32
51
  ## Related
33
52
 
34
53
  - [`dent` Library](https://www.npmjs.com/package/@nsis/dent)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nsis/dent-cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "An opinionated code formatter for NSIS scripts",
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -12,6 +12,7 @@
12
12
  "lint": "npm-run-all --parallel lint:*",
13
13
  "prepack": "npm run build",
14
14
  "start": "npm run build -- --watch",
15
+ "test": "echo \"Tests pending\" && exit 0",
15
16
  "prepare": "husky install"
16
17
  },
17
18
  "files": [
@@ -28,14 +29,14 @@
28
29
  },
29
30
  "repository": {
30
31
  "type": "git",
31
- "url": "https://github.com/idleberg/node-dent.git"
32
+ "url": "https://github.com/idleberg/node-dent-cli.git"
32
33
  },
33
34
  "keywords": [
34
35
  "nsis",
35
36
  "formatter"
36
37
  ],
37
38
  "dependencies": {
38
- "@nsis/dent": "^0.2.0",
39
+ "@nsis/dent": "^0.2.2",
39
40
  "commander": "^10.0.1",
40
41
  "glob": "^10.2.6",
41
42
  "log-symbols": "^5.1.0",