Conversation
|
@paribaker @oudeismetis @mayakeeley - Would appreciate input and/or feature suggestions. |
| && sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg \ | ||
| && echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null \ | ||
| && sudo apt update \ | ||
| && sudo apt install gh -y |
There was a problem hiding this comment.
Ugh, Ubuntu install steps are ugly.
There was a problem hiding this comment.
I like the idea of having the entire script in view in the primary justfile, but it may be a better standard to move each of these out to a library of scripts and have the justfile simply wrap them.
| exit 1 | ||
| fi | ||
| bunx @thinknimble/tnm-cli read '{{project_url}}/api/schema/?format=yaml' -t '{{api_key}}' -u '{{endpoint}}' No newline at end of file | ||
| bunx @thinknimble/tnm-cli read '{{project_url}}/api/schema/?format=yaml' -t '{{api_key}}' -u '{{endpoint}}' |
There was a problem hiding this comment.
The endpoint can also just be the physical file if someone has it downloaded, but I most likely folks will use the link
| @@ -0,0 +1 @@ | |||
| PROJECTS=delve,equati,data4living,project_basta No newline at end of file | |||
There was a problem hiding this comment.
is this needed or can we pass things as CLI args?
There was a problem hiding this comment.
The tn gh-all-prs command uses this, but I could change that to accept a list of args, too. You can pass project names one-by-one to tn gh-prs $repo
I'll write some docs / a manual page for the commands.
There was a problem hiding this comment.
I'm also open to better ideas for how to do this. My use case is that I want to "watch" a certain set of projects and then change the list over time.
What This Does
I'm constantly jumping from PR page to PR page to check project status. Opening a browser and auth'ing with GitHub can be slow and tedious. This feature enables you to configure a list of projects by repo name and list all open PRs.
It makes for a good overview and checklist-builder. Since links are clickable in the terminal, you can jump straight to any PR of interest.
Adds the following recipes:
gh)..configfile for user-specific preferences - in this case aPROJECTSlist of ThinkNimble repos to "watch".PROJECTSfrom.configTo Do:
Example of listing PRs for multiple projects: