sramsay/conditions — Issue #10: single command
Author: sramsay
Created: 2011-12-01 15:22:33+00:00
State: open

Anthony (if you have a moment):

I had a user request the following:

> i'd like to be able to use goinstall to install it.
> that's made harder by the fact that it consists of several
> commands and uses a custom makefile.

> if you made all the commands into subcommands of a single
> "conditions" command (say "wcond", for argument's sake)
> then this would be more straightforward, and it would mean
> that only one name runs the risk of collision with the
> rest of the overcrowded command namespace; it would
> also make it easy to remember what commands are available.

Do you have an opinion on this? I can certainly rewrite the Makefile (I wrote the "first draft" of this program about a year ago when goinstall seemed less ready for prime time).

I keep going back and forth on the second issue, though. Personally, I much prefer it the way it is, but I take the point about crowding the command namespace. It would be possible, of course, to make it one command and alias the others (making the namespace problem a local issue), but the options parsing would probably get more tedious and, I think, make the tool less easy to use.

Also: I changed -v back to -V. -v seems more logical to me, but the POSIX standard actually says otherwise. -v is supposed to be for verbose.