hdoc-tools 0.11.6 → 0.11.7

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/hdoc-help.js CHANGED
@@ -1,50 +1,50 @@
1
- (function () {
2
- 'use strict';
3
-
4
- exports.run = function () {
5
-
6
- // STEVE: The purpose of this function is to output information about hdoc arguments
7
- const helpText = `
8
- Command Line Usage
9
-
10
- hdoc <command> [switches]
11
-
12
- Commands
13
-
14
- - build
15
- Performs a local build of the book, and outputs as a ZIP file. Use non-mandatory argument '--set-version 1.2.3' to set the version number of the built book
16
-
17
- - createDocs
18
- Creates folder structure and markdown documents as defined in the HDocBook navigation item links
19
-
20
- - help
21
- Outputs available arguments and switches
22
-
23
- - init
24
- Initializes a new HDocBook project from a template, using runtime input variables
25
-
26
- - serve
27
- Starts a local web server on port 3000, serving the content. Supports a -port N to use a different port
28
-
29
- - stats
30
- Returns statistics regarding the book you are working on. Supports a -v switch for verbose output
31
-
32
- - validate
33
- Validates the book content
34
-
35
- - bump
36
- Updates the semantic version number of the current book. If no options are specified, then the default of patch is applied:
37
- - major - updates the major version of the book. i.e. - 1.4.5 would become 2.0.0
38
- - minor - updates the minor version of the book. i.e. - 1.4.5 would become 1.5.0
39
- - patch (default) - updates the patch version of the book. i.e. - 1.4.5 would become 1.4.6
40
-
41
- - ver
42
- Returns the version of the current book
43
-
44
- Example
45
-
46
- hdoc stats -v
47
- `;
48
- console.log(helpText);
49
- };
1
+ (function () {
2
+ 'use strict';
3
+
4
+ exports.run = function () {
5
+
6
+ // STEVE: The purpose of this function is to output information about hdoc arguments
7
+ const helpText = `
8
+ Command Line Usage
9
+
10
+ hdoc <command> [switches]
11
+
12
+ Commands
13
+
14
+ - build
15
+ Performs a local build of the book, and outputs as a ZIP file. Use non-mandatory argument '--set-version 1.2.3' to set the version number of the built book
16
+
17
+ - createDocs
18
+ Creates folder structure and markdown documents as defined in the HDocBook navigation item links
19
+
20
+ - help
21
+ Outputs available arguments and switches
22
+
23
+ - init
24
+ Initializes a new HDocBook project from a template, using runtime input variables
25
+
26
+ - serve
27
+ Starts a local web server on port 3000, serving the content. Supports a -port N to use a different port
28
+
29
+ - stats
30
+ Returns statistics regarding the book you are working on. Supports a -v switch for verbose output
31
+
32
+ - validate
33
+ Validates the book content
34
+
35
+ - bump
36
+ Updates the semantic version number of the current book. If no options are specified, then the default of patch is applied:
37
+ - major - updates the major version of the book. i.e. - 1.4.5 would become 2.0.0
38
+ - minor - updates the minor version of the book. i.e. - 1.4.5 would become 1.5.0
39
+ - patch (default) - updates the patch version of the book. i.e. - 1.4.5 would become 1.4.6
40
+
41
+ - ver
42
+ Returns the version of the current book
43
+
44
+ Example
45
+
46
+ hdoc stats -v
47
+ `;
48
+ console.log(helpText);
49
+ };
50
50
  })();