hdoc-tools 0.11.0 → 0.11.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 (3) hide show
  1. package/hdoc-help.js +3 -0
  2. package/hdoc.js +3 -0
  3. package/package.json +1 -1
package/hdoc-help.js CHANGED
@@ -38,6 +38,9 @@ Commands
38
38
  - minor - updates the minor version of the book. i.e. - 1.4.5 would become 1.5.0
39
39
  - patch (default) - updates the patch version of the book. i.e. - 1.4.5 would become 1.4.6
40
40
 
41
+ - ver
42
+ Returns the version of the current book
43
+
41
44
  Example
42
45
 
43
46
  hdoc stats -v
package/hdoc.js CHANGED
@@ -106,6 +106,9 @@
106
106
  } else if (command == 'bump') {
107
107
  const bump = require(path.join(__dirname, 'hdoc-bump.js'));
108
108
  bump.run(source_path, bump_type);
109
+ } else if (command == 'ver') {
110
+ const ver = require(path.join(__dirname, 'hdoc-ver.js'));
111
+ ver.run(source_path);
109
112
  } else {
110
113
  console.log('Unknown command:', command, '\r\n');
111
114
  console.log('Run hdoc help for information regarding this tool.\r\n');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hdoc-tools",
3
- "version": "0.11.0",
3
+ "version": "0.11.1",
4
4
  "description": "Hornbill HDocBook Development Support Tool",
5
5
  "main": "hdoc.js",
6
6
  "bin": {