I am a hobbyist coder who has been doing this on and off for nearly 40 years (I started young).
Recently, I decided to up my game and try to do things "right". In my private hobby project I started creating GitHub issues to break down the project into steps.
I don't always stick to building one feature or fix at a time, I pivot and change direction and I think it's bad practice for me so I decided to make something to help.
Now there's bash script that returns the issue title of the current issue you are working on if you use branches named issue/7 (or whatever number the issue is).
It loads it with the GitHub CLI client gh
and caches it in a local JSON file so future requests load quickly (using jq
).
The purpose is to use it in a bash prompt. I use a modified velvet theme from Oh My Posh to put it in mine.
If you fancy this as part of your prompt (I put it on it's own line in mine) then I posted a gist with it here.
[hidden by post author]