feature: custom commands
Did you check the docs?
- [x] I have read all the docs
Is your feature request related to a problem? Please describe.
There are many permutations of a status/staging view like the one in this plugin and out of all of them I still think this plugin does it the best. If you compare to Neogit for example, it's noticably slower in Neogit to stage/unstage files, more awkward to navigate (IMO) and slightly more awkward to view diffs for files/hunks.
However, where Neogit shines IMO is that it supports adding popups and commands. e.g. I have the following:
- In the pull popup:
- The ability to pull from main (
pm). Very useful
- The ability to pull from main (
- In the commit popup:
- A custom commit command which first runs a small script that chucks the diff at an LLM to generate a commit message
- In the branch popup:
- Create a PR (calls a random go binary we have for creating them on ADO)
- Create a branch based on a Jira issue number (uses the Jira API)
- Open the Jira issue for the current branch
- Might be more that I'm forgetting
As you can see a lot of them are super bespoke/tailored to my use-case which makes the ability to extend Neogit the perfect solution for this kind of thing.
Describe the solution you'd like
It would be great if Fugit2 exposed a similar API for extending behaviour so that we could further enhance what it's already capable of
Describe alternatives you've considered
Using Neogit :)
Additional context
No response