commander-rb / commander

The complete solution for Ruby command-line executables
MIT License
821 stars 74 forks source link

documentation / clarification for subcommands #14

Closed neurogenesis closed 8 years ago

neurogenesis commented 9 years ago

The features mention the use of multi-word commands / subcommands, but it's not immediately clear to those new to Ruby as to how that would be done.

Would it be possible to update the documentation to reflect subcommand examples?

Thank you in advance!

oschrenk commented 9 years ago

Have the same question. Would be great to see some examples.

ggilder commented 9 years ago

There are a few examples of multi-word commands in the readme: https://github.com/commander-rb/commander#command-aliasing

I agree that it's not very explicit, though. If you would like to put together a pull request to add clearer documentation, that would be awesome!