StackOverflow Questions for Tag: structopt

Talel BELHAJSALEM
Talel BELHAJSALEM

Reputation: 4324

Rust structopt fails to get argument value starting with -

Score: 1

Views: 73

Answers: 0

Read More
Evan Carroll
Evan Carroll

Reputation: 1

Can you build a structopt parser that takes the rest of the command line (or multiple arguments)?

Score: 1

Views: 374

Answers: 1

Read More
Thong Nguyen
Thong Nguyen

Reputation: 291

How to write tests for command line tool built with structopt

Score: 0

Views: 142

Answers: 1

Read More
Thorkil Værge
Thorkil Værge

Reputation: 3797

Unable to provide CLI arguments to `cargo test`

Score: 4

Views: 944

Answers: 1

Read More
H. Desane
H. Desane

Reputation: 653

How can I use enums in structopt?

Score: 13

Views: 6581

Answers: 4

Read More
itasahobby
itasahobby

Reputation: 313

How to create nested subcommands with structopt?

Score: 2

Views: 502

Answers: 1

Read More
Utkarsh Bhardwaj
Utkarsh Bhardwaj

Reputation: 88

StructOpt: How to use subcommand enum's fields in clap::arg attribute methods?

Score: 1

Views: 1258

Answers: 0

Read More
womble
womble

Reputation: 12426

structopt unable to find its Args parser when defined in a separate file

Score: 1

Views: 398

Answers: 1

Read More
Evan Carroll
Evan Carroll

Reputation: 1

structopt: error[E0277]: the trait bound `String: From<&OsStr>`

Score: -3

Views: 303

Answers: 1

Read More
Evan Carroll
Evan Carroll

Reputation: 1

Does structopt support multi-contextual positional arguments?

Score: 1

Views: 170

Answers: 1

Read More
Just a learner
Just a learner

Reputation: 28602

When using structopt, how to test if the user provided an option or if it comes from the default value?

Score: 0

Views: 457

Answers: 1

Read More
Nathaniel Ford
Nathaniel Ford

Reputation: 21239

Parse Structopt flag from anywhere in the input

Score: 1

Views: 384

Answers: 1

Read More
Dante
Dante

Reputation: 827

How to use an enum that represents subcommands with StructOpt?

Score: 15

Views: 5110

Answers: 2

Read More
Nagaraj M
Nagaraj M

Reputation: 447

Rustlang structopt How to set the home directory

Score: 0

Views: 488

Answers: 1

Read More
milend
milend

Reputation: 71

Getting relative order of different command line options using clap & structopt

Score: 4

Views: 780

Answers: 1

Read More
eonil
eonil

Reputation: 86095

How to attach possible_values to a struct with structopt?

Score: 7

Views: 2367

Answers: 2

Read More
nolandda
nolandda

Reputation: 2274

How to create a StructOpt command where all subcomands are optional

Score: 1

Views: 837

Answers: 1

Read More
Ach113
Ach113

Reputation: 1825

structops - how to make argument optional based on boolean flag

Score: 3

Views: 1455

Answers: 0

Read More
Liam Warfield
Liam Warfield

Reputation: 81

Is there a way to change OUT_DIR for a build.rs

Score: 3

Views: 2797

Answers: 0

Read More
imbolc
imbolc

Reputation: 1833

StructOpt - how to provide a default value for a Vec?

Score: 2

Views: 2146

Answers: 2

Read More
PreviousPage 1Next