Conversation
|
There seem to be some issues with my argument parsing, so I will fix that and remark as ready for review |
|
@Oakchris1955 Thanks for the contribution — supporting a target repository directory is a useful improvement for the CLI. Before I can merge this, I’d like to request a few changes:
I like the feature itself, so if you update the PR in that direction, I’d be happy to take another look. |
That is your own parsing logic. If anything, you should fix it.
That's something I saw in your code, that's why I copied you behaviour |
|
@Oakchris1955 Fair point — this started as a small utility project, and I did not pay enough attention to code quality early on, so some of these patterns do exist in the current codebase. The project has gotten more attention than I expected, though, and I want to raise the bar going forward rather than add more of the same patterns. For this PR, the changes I still need before merging are:
If updating every part of this is too much for one PR, I am also fine splitting some cleanup into a follow-up change on my side. But I still want to avoid adding more of these patterns in new code. If you want to update the PR in that direction, I am happy to review it again. |
Before I begin, this is the first time I write Go code, so I don't know whether it's good or not.
So, I saw this and thought "no way this don't have an argument for setting the git repo target directory without having to navigate to it". Turns out, there isn't such a thing, so I wrote it in like 30 mins.