Re: suggestions about stgit commands renaming
- From
Yann Dirson <ydirson@altern.org>
- Date
- Jan 10, 2007, 19:52 UTC
- Message-ID
- <20070110195212.GH17093@nan92-1-81-57-214-146.fbx.proxad.net>
- In-Reply-To
- <20070109220332.GD17093@nan92-1-81-57-214-146.fbx.proxad.net>
On Tue, Jan 09, 2007 at 11:03:32PM +0100, Yann Dirson wrote:
Show 17 quoted lines
> Maybe some restucturing of commands is called for. One possibility > would be to go with prefixes (eg. ppush, pshow), but that does not > address the sub-commands issue, which would have to be dealt with > another way, possibly by multiplying commands (branch -> blist, > bcreate, etc), which I'm not very fond of. > > Another would be to generalize command groups, and acknowledge > subcommands as such. Eg: > > stg branch --create -> stg branch create > stg show -> stg patch show > stg push -> stg patch push > > > The latter obviously suggests that some would want to keep "stg push" > as an alias (here comes again the idea of programable aliases like we > already have for GIT.
Thinking twice, the current "shortcut prefix" mechanism would already allow us to use shortcuts like "stg p show" and "stg b create".