rorybyrne / git-plan

Git Plan - a better workflow for git
MIT License
181 stars 5 forks source link

The root `git plan` command should show help, instead of running a subcommand #65

Closed rorybyrne closed 3 years ago

rorybyrne commented 3 years ago

This may be controversial, but I think that running git plan should simply trigger the help output (like git). This forces users to be explicit and type git plan list or git plan add. We could offer advice in the README on how to useful aliases for git-plan.

rorybyrne commented 3 years ago

Not gonna lie, one of the big motivations behind this is to simplify the tool's architecture and avoid having to (e.g.) share argparse --flags across multiple commands.

rorybyrne commented 3 years ago

I decided against this in the end, because I found a way to implement it elegantly.