Comparing version 13.0.1 to 13.0.2
@@ -0,1 +1,8 @@ | ||
## [13.0.2](https://github.com/esatterwhite/node-seeli/compare/v13.0.1...v13.0.2) (2021-11-03) | ||
### Bug Fixes | ||
* **command**: exclude interactive flag from tree if disabled [0d0ee94](https://github.com/esatterwhite/node-seeli/commit/0d0ee94d1cb39170744ad78e223ad54d85ebd4ce) - Eric Satterwhite | ||
## [13.0.1](https://github.com/esatterwhite/node-seeli/compare/v13.0.0...v13.0.1) (2021-10-31) | ||
@@ -2,0 +9,0 @@ |
@@ -586,9 +586,10 @@ 'use strict' | ||
get flags() { | ||
const out = [] | ||
const flags = [] | ||
for (const [name, flag] of Object.entries(this.options.flags)) { | ||
if (name === 'interactive' && !this.options.interactive) continue | ||
const type = flagType(flag) | ||
out.push(`--${name}`) | ||
if (type === 'confirm') out.push(`--no-${name}`) | ||
flags.push(`--${name}`) | ||
if (type === 'confirm') flags.push(`--no-${name}`) | ||
} | ||
return out | ||
return flags | ||
} | ||
@@ -604,3 +605,4 @@ | ||
} | ||
root['--'] = root['-'] = flags | ||
root['--'] = flags | ||
root['-'] = flags | ||
return root | ||
@@ -607,0 +609,0 @@ } |
{ | ||
"name": "seeli", | ||
"version": "13.0.1", | ||
"version": "13.0.2", | ||
"description": "Object oriented, flexible CLI tools", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
120566
1614