gruntjs / gruntjs/grunt

Set multiple boolean CLI options?

Open
#1,780 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12.2k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

... but it doesn't appear that you do:

```javascript
$> grunt deploy --test --staging
// grunt.option.flags(): --test=--staging,--pluginConfig=[object Object]
```

Contributor guide

Open the contributing guide

Research direction

Reproduce the reported `grunt deploy --test --staging` command and inspect how `grunt.option.flags()` parses multiple boolean CLI options. Done means the options are represented separately rather than one option absorbing the next, with a regression test covering the example.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.