github issues with ghi and multiple users
I have recently started to use ghi - a command line github issues client. Out of the box it only supports a single github account. Personally I like to separate my private from work related coding though. Thus adding two aliases to ~/.bashrc allows me to quickly switch from one account to the other (a task that is really tedious in the browser):
# aliases for ghi (github client) alias ghi-USER-A='GHI_TOKEN="A git oauth token" && /opt/ghi' alias ghi-USER-B='GHI_TOKEN="B git oauth token" && /opt/ghi'
Btw. one gets the hashes from running ghi without GHI_TOKEN set and no [ghi] block in ~/.gitconfig.