@rse/nunjucks-cli 1.4.2 → 1.4.4
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.
- package/README.md +13 -5
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -4,8 +4,12 @@ nunjucks-cli
|
|
|
4
4
|
|
|
5
5
|
**Nunjucks Template Rendering Command-Line Interface**
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
[](https://github.com/rse)
|
|
8
|
+
[](https://github.com/rse)
|
|
9
|
+
[](https://github.com/rse/nunjucks-cli)
|
|
10
|
+
<br/>
|
|
11
|
+
[](https://npmjs.com/@rse/nunjucks-cli)
|
|
12
|
+
[](https://npmjs.com/@rse/nunjucks-cli)
|
|
9
13
|
|
|
10
14
|
Abstract
|
|
11
15
|
--------
|
|
@@ -20,6 +24,8 @@ It optionally can load Nunjucks addons like the ones from the companion
|
|
|
20
24
|
Installation & Usage
|
|
21
25
|
--------------------
|
|
22
26
|
|
|
27
|
+
For the installation via Node Package Manager (NPM) use:
|
|
28
|
+
|
|
23
29
|
```sh
|
|
24
30
|
# plain functionality
|
|
25
31
|
$ npm install -g @rse/nunjucks-cli
|
|
@@ -30,7 +36,7 @@ $ npm install -g @rse/nunjucks-cli @rse/nunjucks-addons
|
|
|
30
36
|
$ nunjucks -e @rse/nunjucks-addons [...]
|
|
31
37
|
```
|
|
32
38
|
|
|
33
|
-
Alternatively, instead of globally installing it, you can also use it on-the-fly:
|
|
39
|
+
Alternatively, instead of globally installing it, you can also use it on-the-fly with NPM's npx(1) utility:
|
|
34
40
|
|
|
35
41
|
```sh
|
|
36
42
|
# plain functionality
|
|
@@ -41,8 +47,10 @@ $ npx --yes --package @rse/nunjucks-cli --package @rse/nunjucks-addons -- \
|
|
|
41
47
|
nunjucks -e @rse/nunjucks-addons [...]
|
|
42
48
|
```
|
|
43
49
|
|
|
44
|
-
|
|
45
|
-
|
|
50
|
+
Command-Line Interface (CLI)
|
|
51
|
+
----------------------------
|
|
52
|
+
|
|
53
|
+
Short excerpt of the CLI options and arguments from the companion [Unix manpage](nunjucks.md):
|
|
46
54
|
|
|
47
55
|
```
|
|
48
56
|
$ nunjucks
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rse/nunjucks-cli",
|
|
3
3
|
"publishConfig": { "access": "public" },
|
|
4
|
-
"version": "1.4.
|
|
4
|
+
"version": "1.4.4",
|
|
5
|
+
"stdver": "1.4.3.20230827-GA",
|
|
5
6
|
"description": "Nunjucks Template Rendering Command-Line Interface",
|
|
6
7
|
"author": {
|
|
7
8
|
"name": "Dr. Ralf S. Engelschall",
|
|
@@ -11,7 +12,7 @@
|
|
|
11
12
|
"license": "MIT",
|
|
12
13
|
"repository": {
|
|
13
14
|
"type": "git",
|
|
14
|
-
"url": "
|
|
15
|
+
"url": "https://github.com/rse/nunjucks-cli.git"
|
|
15
16
|
},
|
|
16
17
|
"bugs": {
|
|
17
18
|
"url": "http://github.com/rse/nunjucks-cli/issues"
|
|
@@ -19,6 +20,7 @@
|
|
|
19
20
|
"bin": {
|
|
20
21
|
"nunjucks": "nunjucks.js"
|
|
21
22
|
},
|
|
23
|
+
"man": "nunjucks.1",
|
|
22
24
|
"dependencies": {
|
|
23
25
|
"nunjucks": "3.2.4",
|
|
24
26
|
"chalk": "4.1.0",
|