-
Hello,
Is there a way to allow a key to be a boolean or a string? For example, I'd allow '--no-attribute' which would give attribute a false boolean, as well as '--attribute inline' which would giv…
-
## CVE-2020-7774 - Critical Severity Vulnerability
Vulnerable Libraries - y18n-4.0.0.tgz, y18n-3.2.1.tgz
y18n-4.0.0.tgz
the bare-bones internationalization library used by yargs
Library home page:…
-
Hello! I'd like to include a tagline in the help text. Maybe with a description function.
```js
yargs(..)
.scriptName('gadget')
.description('Never eat a pirate. He'll spend the rest of his …
-
Ubuntu 20.04.4 LTS
PHP (local) 7.4.29
I powered up a client's Drupal 8 Aquia BLT project today to be met with >
```
name: mggv2
recipe: acquia
config:
acli_version: latest
ah_applicati…
-
I have an argument specified like:
```
.option('id', {
describe: 'Only update this dataset ID',
type: 'string',
requiresArg: true
})
```
The help text come…
-
```js
const colors = require("ansi-colors");
require("yargs")
.command(colors.red('test'),"just test")
.strict()
```
when run `my-cmd test`, it works with v15.3.1;
but it breaks in …
-
Vulnerable Library - cli-plugin-unit-jest-4.5.7.tgz
Path to dependency file: /components/dashboard/node_modules/@vue/cli-plugin-unit-jest/package.json
Path to vulnerable library: /components/dashbo…
-
Hi! I'm trying to setup e2e tests with Spectron and I got some issues.
When I start my tests with:
```
beforeEach(async () => {
app = new Application({
path: path.resolve(
…
-
I've got the following:
```
const argv = yargs.options({
config: {
string: true,
config: true,
default: 'mypackagerc'
},
myValue: { string: true }
});
```
This is wor…
-
Vulnerable Library - haxe-loader-0.10.0.tgz
Path to dependency file: /package.json
Path to vulnerable library: /package.json
Found in HEAD commit: d6f11282ee9f4af0baad5df06570b6a9700994af
## Vu…