Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept more types of positional arguments #7

Open
2 tasks
yoshuawuyts opened this issue Jul 19, 2018 · 0 comments
Open
2 tasks

Accept more types of positional arguments #7

yoshuawuyts opened this issue Jul 19, 2018 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@yoshuawuyts
Copy link
Collaborator

yoshuawuyts commented Jul 19, 2018

https://github.com/rust-clique/man/blob/77e75bb820bff51de3ff2c3472282740b7654579/src/man/mod.rs#L110

Allow accepting not only required positional arguments, also allow optional, and vectors.

The output should be something like:

SYNOPSIS
          my_cmd [OPTIONS] arg1 arg2? arg3...

TODOS

  • design API
  • implement
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant