tailhook / rust-argparse

The command-line argument parser library for rust
MIT License
240 stars 39 forks source link

List possible subcommands for one argument #48

Closed nyovaya closed 6 years ago

nyovaya commented 6 years ago

Wouldnt it be better if theres the possibility to list all the subcommands which can be used as "COMMAND" and each of them would have an own description? - instead of "command Command to run (either "play" or "record")".

Like this:

command short summing up description
  play description for "play"
  record description for "record"
tailhook commented 6 years ago

Unfortunately, there is no "subcommand" thing in rust-argparse. This project is in "maintenance only no new features mode" so it's unlikely that they be added anytime. And it's better to use structopt or clap nowadays.