[Rubygems-developers] New command-line help approach

Michael Neumann mneumann at ntecs.de
Thu May 6 15:24:59 EDT 2004

On Wed, May 05, 2004 at 11:44:25PM -0400, Gavin Sinclair wrote:
> I refactored the --help command into
>   --help
>   --help-options
>   --help-examples
> based on a request and on common sense.

Personally I'd like it more this way:

  gem help       # display help
  gem list       # invoke the "list" command (--list)

  gem help list  # show the help of the list command

  gem install RedCloth-0-0-1

The basic commands like "list", "install" etc. are given without "--",
only special options (like http-proxy) which are themself no commands
are given with "--". This distinguishes commands from options.

But I really haven't thought this out, just a raw idea (inspired from
OpenCM command line).



More information about the Rubygems-developers mailing list