occam-open-cli 6.0.129 → 6.0.130

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/bin/configure.js CHANGED
@@ -8,7 +8,7 @@ const { DOUBLE_DOTS } = require("./constants"),
8
8
 
9
9
  const { bottommostNameFromPath } = pathUtilities;
10
10
 
11
- function configure(command, argument, options, callback) {
11
+ function configure(command, argument, options, main) {
12
12
  let configurationFileExists = checkConfigurationFileExists();
13
13
 
14
14
  if (command === PUBLISH_COMMAND) { ///
@@ -33,7 +33,7 @@ function configure(command, argument, options, callback) {
33
33
  migrateConfigurationFile();
34
34
  }
35
35
 
36
- callback(command, argument, options);
36
+ main(command, argument, options);
37
37
  }
38
38
 
39
39
  module.exports = configure;
@@ -29,7 +29,7 @@ const { DEFAULT_NO, DEFAULT_YES, DEFAULT_HELP, DEFAULT_TAIL, DEFAULT_FOLLOW, DEF
29
29
  RESET_PASSWORD_COMMAND,
30
30
  SET_SHELL_COMMANDS_COMMAND } = require("./commands");
31
31
 
32
- function actions(command, argument, options) {
32
+ function main(command, argument, options) {
33
33
  const commandMissing = (command === null),
34
34
  { no = DEFAULT_NO,
35
35
  yes = DEFAULT_YES,
@@ -73,4 +73,4 @@ function actions(command, argument, options) {
73
73
  }
74
74
  }
75
75
 
76
- module.exports = actions;
76
+ module.exports = main;
package/open.js CHANGED
@@ -3,7 +3,7 @@
3
3
  const { parseArgv } = require("argumentative"),
4
4
  { arrayUtilities } = require("necessary");
5
5
 
6
- const actions = require("./bin/actions"),
6
+ const main = require("./bin/main"),
7
7
  configure = require("./bin/configure"),
8
8
  abbreviations = require("./bin/abbreviations");
9
9
 
@@ -16,4 +16,4 @@ const { commands, options } = parseArgv(argv, abbreviations),
16
16
  command = firstCommand || null, ///
17
17
  argument = secondCommand || null; ///
18
18
 
19
- configure(command, argument, options, actions);
19
+ configure(command, argument, options, main);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "occam-open-cli",
3
3
  "author": "James Smith",
4
- "version": "6.0.129",
4
+ "version": "6.0.130",
5
5
  "license": "MIT, Anti-996",
6
6
  "homepage": "https://github.com/djalbat/occam-open-cli",
7
7
  "description": "Occam's command line package management tool.",