question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CLI: while importing some flags have pre-appended values

See original GitHub issue

Bug report

While importing flags from core some flags are preappended with values , for example -

  • --module-no-parse
  • --module-no-parse-reset
  • --optimization-no-emit-on-errors

What is the current behavior? These flags have pre appended values and seems we cant override .

Screenshot at 2020-07-11 14-03-34

If the current behavior is a bug, please provide the steps to reproduce. Import flags and process them.

What is the expected behavior?

The flags should not have pre appended values.

Other relevant information: webpack version:
Node.js version: Operating System: Additional tools:

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
snitin315commented, Jul 17, 2020

I have sent a fix to commander.js, now we wait to merge and release.

1reaction
snitin315commented, Jul 16, 2020

I think I found the bug, I can see defaultValue: true in parserInstance. Looking more into it.

Screenshot at 2020-07-16 20-28-38

Read more comments on GitHub >

github_iconTop Results From Across the Web

list-imports — AWS CLI 1.27.34 Command Reference
Lists all stacks that are importing an exported output value. To modify or remove an exported output value, first use this action to...
Read more >
Flags · CLI11 Tutorial
Adding a flag in CLI11 is done in one of three ways. ... names to default particular options to a false value or...
Read more >
How to discard flags defined in imported third party packages ...
In above code sample, log package has many flags. After compiling when I execute following command, all flags including "my_flag" and flags from ......
Read more >
Command Flags · oclif: The Open CLI Framework
Flag options are non-positional arguments passed to the command. Flags can either be option flags which take an argument, or boolean flags which...
Read more >
Command: import | Terraform - HashiCorp Developer
-var 'foo=bar' - Set a variable in the Terraform configuration. This flag can be set multiple times. Variable values are interpreted as literal...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found