Closed ggilder closed 8 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?
From @jszwedko on March 2, 2015 19:50
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.
Oops, I believe this was actually fixed in 4.3.4.
From @jszwedko on March 2, 2015 19:26
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
Copied from original issue: tj/commander#98