-
Notifications
You must be signed in to change notification settings - Fork 504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shorten from your CLI #49
Comments
Great stuff! Added your fork and bash script to README! |
Cool hack! Here are a few tweaks to consider:
could be simplified to:
Also,
could be simplified to:
Also Why #!/usr/bin/env bash is superior to #!/bin/bash So:
|
Thanks for your input @rasa. I'll test this and let you know how better this works. |
@eexit & @rasa great ideas! I've done the same thing, but I like interact with the API directly directly using curl rather than installing anything else like gh. That way I can use it anywhere curl is installed (which should be everywhere). Hopefully this will help someone in the future looking for an alternative method; Assumption: You have created a label in GitHub issues named
(Just replace $USERNAME, $TOKEN, & $REPO with your GitHub username, Personal Access Token, and repo name and save to a script and make it executable.) And finally use it: P.S. @nelsontky great work on the original code! |
Hey,
I created a small bash script to automate this, based on GitHub CLI:
Note: my repo is https://github.com/eexit/s
The text was updated successfully, but these errors were encountered: