ultimate-jekyll-manager 1.9.24 → 1.9.25
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/ultimate-jekyll +5 -1
- package/package.json +1 -1
package/bin/ultimate-jekyll
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
|
|
2
|
+
// Value-less flags must be declared boolean — otherwise yargs treats the next
|
|
3
|
+
// positional as the flag's VALUE (`mgr test --extended some/target` became
|
|
4
|
+
// extended='some/target' with NO target, silently running EVERYTHING in
|
|
5
|
+
// normal mode). Mirrors the same fix in BEM's CLI.
|
|
6
|
+
const argv = require('yargs')(process.argv.slice(2)).boolean(['extended']).parseSync();
|
|
3
7
|
const cli = new (require('../dist/cli.js'))(argv);
|
|
4
8
|
(async function() {
|
|
5
9
|
'use strict';
|