propagate-cli 1.9.18 → 1.9.20

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 CHANGED
@@ -82,18 +82,20 @@ If you would like to contribute or would simply like to have a look at the code,
82
82
  Propagate has the following commands and options:
83
83
 
84
84
  ```
85
- propagate [help] Show this help
86
-
87
- propagate --version|-v Show the version
88
-
89
85
  propagate Propagate the current package
90
86
 
91
87
  propagate <sub-directory> Propagate a package in the given sub-directory
92
88
 
93
89
  propagate <command>
94
90
 
91
+ propagate [<command>] [<options>]
92
+
95
93
  Commands:
96
94
 
95
+ version Show theh version
96
+
97
+ help Show this help
98
+
97
99
  initialise Create a configuration file
98
100
 
99
101
  add-directory Add an additional directory
@@ -102,7 +104,7 @@ Commands:
102
104
 
103
105
  list-directories List directories, including the default directory
104
106
 
105
- set-shell-commands Set the Git, install, build and publish shell commands
107
+ set-shell-commands Set the Git, build, install and publish shell commands
106
108
 
107
109
  add-ignored-dependency Add an ignored dependency
108
110
 
@@ -3,18 +3,20 @@
3
3
  function helpAction() {
4
4
  console.log(`Usage:
5
5
 
6
- propagate [help] Show this help
7
-
8
- propagate --version|-v Show the version
9
-
10
6
  propagate Propagate the current package
11
7
 
12
8
  propagate <sub-directory> Propagate a package in the given sub-directory
13
9
 
14
10
  propagate <command>
15
11
 
12
+ propagate [<command>] [<options>]
13
+
16
14
  Commands:
17
15
 
16
+ version Show theh version
17
+
18
+ help Show this help
19
+
18
20
  initialise Create a configuration file
19
21
 
20
22
  add-directory Add an additional directory
package/bin/actions.js CHANGED
@@ -41,10 +41,10 @@ function actions(command, argument, options) {
41
41
 
42
42
  if (false) {
43
43
  ///
44
- } else if (version) {
45
- command = VERSION_COMMAND;
46
44
  } else if (help) {
47
45
  command = HELP_COMMAND;
46
+ } else if (version) {
47
+ command = VERSION_COMMAND;
48
48
  } else if (commandMissing) {
49
49
  command = HELP_COMMAND;
50
50
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "propagate-cli",
3
3
  "author": "James Smith",
4
- "version": "1.9.18",
4
+ "version": "1.9.20",
5
5
  "license": "MIT, Anti-996",
6
6
  "homepage": "https://github.com/djalbat/propagate-cli",
7
7
  "description": "Propagate updated packages throughout a project.",