Skip to content

using double hyphen as an arg #5305

Answered by epage
sudhackar asked this question in Q&A
Jan 15, 2024 · 1 comments · 6 replies
Discussion options

You must be logged in to vote

For now, I feel like this is specialized enough that I would wait on #2468.

echos CLI is limited enough that you could workaround this by

  • Implementing the parser via clap_lex (sharing a dependency with clap)
  • Still implement the CLI in clap and delegate to it for the --help output

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@sudhackar
Comment options

@epage
Comment options

Answer selected by sudhackar
@sudhackar
Comment options

@jasonterando
Comment options

@epage
Comment options

@jasonterando
Comment options

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