StackOverflow Questions for Tag: clap

unsafe_where_true
unsafe_where_true

Reputation: 6310

Dependent optional arguments with clap

Score: 1

Views: 32

Answers: 0

Read More
Markus Grunwald
Markus Grunwald

Reputation: 333

With clap v4 how can I set up multiple exclusive non-bool options?

Score: 3

Views: 51

Answers: 1

Read More
alwaysAStudent
alwaysAStudent

Reputation: 2274

Rust Clap Allow value from selected list

Score: 0

Views: 2606

Answers: 2

Read More
user656449
user656449

Reputation: 3032

can clap somehow handle more than one subcommands group?

Score: 0

Views: 22

Answers: 0

Read More
Emily Penstemmon
Emily Penstemmon

Reputation: 1

How to specify an argument by position OR name, using Rust's 'clap' crate?

Score: 0

Views: 47

Answers: 0

Read More
Harry
Harry

Reputation: 3030

How to print version and custom command line argument value using clap crate

Score: 0

Views: 76

Answers: 1

Read More
zar3bski
zar3bski

Reputation: 3181

Bypass clap argument parsing when running individual tests

Score: 0

Views: 53

Answers: 0

Read More
P34R
P34R

Reputation: 29

rust clap default_values_t for a vector, where flag may repeat and may not

Score: 1

Views: 53

Answers: 1

Read More
Timmmm
Timmmm

Reputation: 96832

How to make clap derive not convert underscores to hyphens in option names

Score: 4

Views: 698

Answers: 2

Read More
Brendan
Brendan

Reputation: 2401

Ergonomic runtime-default args with Clap derive API

Score: 1

Views: 64

Answers: 1

Read More
Finlay Weber
Finlay Weber

Reputation: 4163

How to parse command line argument to non-unit enum with clap?

Score: 4

Views: 1732

Answers: 3

Read More
PacificNW_Lover
PacificNW_Lover

Reputation: 5384

Issues with importing and using Clap.with_name() function

Score: 0

Views: 83

Answers: 0

Read More
ksy
ksy

Reputation: 23

How can I get all inputs except subcommand with the Clap?

Score: 0

Views: 33

Answers: 0

Read More
wyc
wyc

Reputation: 55293

How to enable this Clap script to pass arguments as -i and -l?

Score: -1

Views: 72

Answers: 1

Read More
Juxhin
Juxhin

Reputation: 5620

How to use an internal library Enum for Clap Args

Score: 11

Views: 10728

Answers: 4

Read More
Evan Carroll
Evan Carroll

Reputation: 1

How can I model global state from command line arguments?

Score: 1

Views: 807

Answers: 1

Read More
Jan
Jan

Reputation: 314

How to call a function with clap

Score: -1

Views: 279

Answers: 1

Read More
刘一凡
刘一凡

Reputation: 1

Parse input with clap for command line

Score: 0

Views: 106

Answers: 0

Read More
Fayeure
Fayeure

Reputation: 1369

when I disable the default help option and add it as a custom arg, it says that help is a required argument

Score: 1

Views: 60

Answers: 1

Read More
Fayeure
Fayeure

Reputation: 1369

Is it possible to have multiple long names for the same command-line argument?

Score: 2

Views: 163

Answers: 1

Read More
PreviousPage 1Next