[Rubygems-developers] New command-line help approach
Dick Davies
rasputnik at hellooperator.net
Thu May 6 18:46:47 EDT 2004
* Michael Neumann <mneumann at ntecs.de> [0525 20:25]:
> 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 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.
Personally I think that's a good layout - cvs / subversion-like
nested help, and the 'command'/'--option' syntax rings bells too..
--
Rasputin :: Jack of All Trades - Master of Nuns
More information about the Rubygems-developers
mailing list