Skip to content

Idea: contextual invocation if a command is being run from a local repo #11

@grdryn

Description

@grdryn

Here's an example of what I'm thinking of:

Currently I run:

gerrymander todo-mine -p my/project/example

If my current directory is a git repo with my/project/example as a remote (just origin or maybe others), then the following could have the same effect as the above:

gerrymander todo-mine

Then to get the original version of the no-project-specified todo-mine command, would be something like:

gerrymander todo-mine -a

...or something else to specify that results from all projects should be returned.

Of course, this could also be (and maybe should be) done as git aliases per local repository.

Does that make sense, or is it silly?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions