mythix-cli 1.3.4 → 1.3.6

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 (2) hide show
  1. package/bin/runner.js +3 -1
  2. package/package.json +2 -2
package/bin/runner.js CHANGED
@@ -363,7 +363,7 @@ function commandRunners(commandsObj, context, showHelp) {
363
363
  showHelp(help[scope] || help)
364
364
  };
365
365
 
366
- let rootOptions = { help, showHelp: () => {}, helpArgPattern: null };
366
+ let rootOptions = { help, showHelp: customShowHelp, helpArgPattern: null };
367
367
  let mythixPath = Path.dirname(require.resolve('mythix', { paths: [ process.env.PWD, Path.resolve(process.env.PWD, 'node_modules') ] }));
368
368
  let mythixCLIPAth = Path.resolve(mythixPath, 'cli');
369
369
  let mythixCLI = require(mythixCLIPAth);
@@ -382,6 +382,8 @@ function commandRunners(commandsObj, context, showHelp) {
382
382
  let commandContext = CMDed((context) => {
383
383
  let { $, Types, store } = context;
384
384
 
385
+ store('mythixApplication', application);
386
+
385
387
  $('--config', Types.STRING({
386
388
  format: Path.resolve,
387
389
  })) || store({ config: (Nife.isNotEmpty(process.env.MYTHIX_CONFIG_PATH)) ? Path.resolve(process.env.MYTHIX_CONFIG_PATH) : Path.join(process.env.PWD, '.mythix-config.js') });
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "mythix-cli": "./bin/mythix-cli.js"
4
4
  },
5
5
  "name": "mythix-cli",
6
- "version": "1.3.4",
6
+ "version": "1.3.6",
7
7
  "description": "Mythix CLI utility",
8
8
  "main": "src/index.js",
9
9
  "scripts": {
@@ -30,7 +30,7 @@
30
30
  "mythix": "^2.4.14"
31
31
  },
32
32
  "dependencies": {
33
- "cmded": "^1.2.1",
33
+ "cmded": "^1.2.5",
34
34
  "nife": "^1.11.3"
35
35
  },
36
36
  "devDependencies": {