Skip to content

How can I set AppSettings when I'm using derive macros with struct? #2344

Answered by pksunkara
RinChanNOWWW asked this question in Q&A
Discussion options

You must be logged in to vote

#[clap(long, env = "SECRET_TOKEN", setting = ArgSettings::HideEnvValues)]

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@RinChanNOWWW
Comment options

@pksunkara
Comment options

@RinChanNOWWW
Comment options

Answer selected by pksunkara
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants