Closed jszwedko closed 9 years ago
Hmm, it doesn't "limit" the name, it just doesn't line everything up any more if you have a name longer than 20 characters. In any case, would you be interested in putting together a patch for this?
Sorry, I should have been clearer -- yeah, it's just the command descriptions don't line up for commands whose name is longer than 20 characters (we discovered this using the "subcommand" pattern discussed here: https://github.com/tj/commander/issues/52).
I'll take a crack at a patch.
This issue was moved to commander-rb/commander#8
It would be nice if this was instead based on the length of the longest command or was configurable.
https://github.com/tj/commander/blob/master/lib/commander/help_formatters/terminal/help.erb#L12
@stephenchu