Skip to content

issues Search Results · repo:75lb/command-line-args language:JavaScript

Filter by

109 results
 (85 ms)

109 results

in75lb/command-line-args (press backspace or delete to remove)

Because inputs are transformed, the original user input can get lost. It can be useful to retain the user input for multiple reasons. One example in particular, a companion validation library might, at ...
  • zanerock
  • 2
  • Opened 
    on Jul 3, 2024
  • #135

test-runner - jest and fix coverage The test-runner project does not seem to be under active development and command-line-rep is currently using an even older version (0.5) that the 2 year old version ...
  • zanerock
  • 4
  • Opened 
    on Jul 3, 2024
  • #133

Provide a way to specify that an option is required so that parsing of the options can automatically detect missing options and ideally automatically display the help message and exit.
  • marke-apexit
  • 1
  • Opened 
    on Nov 29, 2022
  • #129

const commandLineArgs = require( command-line-args ) const argvOptions = commandLineArgs([ { name: src , type: String, multiple: true, defaultOption: true }, ]) console.log(argvOptions.onlyCP4) when ...
  • jfoclpf
  • 1
  • Opened 
    on Sep 9, 2022
  • #128

It would be very useful if one was able to configure command-line-args so that a Boolean option can take it s value as an argument, just like a String option. Currently it is impossible using a single ...
question
  • jihu
  • 2
  • Opened 
    on Jun 30, 2022
  • #127

need docs to explain how to pass commandLineArgs object to command-line-usage. it is not obvious. Thank you
  • geetee24
  • 2
  • Opened 
    on May 7, 2022
  • #126

Given this config: const optionDefinitions = [ { name: verbose , alias: v , type: Boolean }, { name: src , type: String, multiple: true }, { name: foo , type: String, multiple: true, defaultOption: ...
question
  • besfahbod
  • 5
  • Opened 
    on Apr 15, 2022
  • #125

If I d like the following to work, I have to manually join the name array I get. For strings, you could add an option top concatenate params, so I get the full string, without quoting it. For now I get ...
wontfix
  • andrisi
  • 2
  • Opened 
    on Mar 28, 2022
  • #124

It s common for long options to contain -. I can t figure out a way to add a name that contains a dash. I was hoping either _ gets converted to -, or that it s possible to specify a destination variable. ...
  • sarnobat
  • 2
  • Opened 
    on Jan 24, 2022
  • #122
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub