Closed openjck closed 1 year ago
Some advice which might help me to import utils that are shared amongst command scripts:
https://stackoverflow.com/questions/16981921/relative-imports-in-python-3/16985066#16985066
My next step on this is to finish converting git-idiff to Python, which is almost done on the python branch. The only known issue is that the pager is not used to ultimately show the diff when a pager is configured to be used with git diff
.
edit: I think I have solved this, and pushed the solution up, but I want to test git-idiff and all other tests that have been edited more thoroughly before calling this done.
All of the commands have been reimplemented and pushed up. I would like to test them one more time. After that, I need to figure out how to distribute this and update the installation instructions accordingly.
git-i
, which would make the commands work when invoked as git fzf.add
and git fzf.commit
. I have tested this and it does work. That said, I do prefer names like iadd
and icommit
.sudo snap connect git-fzf:gitconfig
)snapcraft clean && snapcraft && sudo snap install --dangerous ./git-fzf_0.0.1_amd64.snap && sudo snap connect git-fzf:gitconfig && git fzf.add
sudo snap connect git-fzf:gitconfig
$PATH
) among others. However, this might be a bit tricky since the project uses Python libraries.I pushed up some code to the python branch which begins to use Poetry.
Hey that was easier than I thought.
I think I should rewrite this in Python, which has much better argument parsing support via the
argparse
library, which ships with Python.I have made some progress already on the python branch.
To do