Jump to content

Github command bar


Recommended Posts

It works similar to the GitHub command bar and to its update, the keyword is "gh" (example: "gh github/gollum issues").

 

With enter you can open the entry in your default browser. If you just want to copy the URL of a repo/user/issue, hit cmd+c on an entry. Hit cmd+enter to paste the URL to the front most app. With shift or cmd+y you can open the URL in QuickLook.

 

You have to login (gh > login <user>) before you can use the workflow. The login command opens a dialog box for the password. The workflow does not save the plain password, only a cookie for the login.

 

DOWNLOAD | GitHub Repository | Command list

 

screenshot.png

Edited by derfla
Link to post

Very nice work!

 

I don't know if this is related to my current Alfred settings or something you can add to your workflow, but being able to autocomplete the query would be awesome.

For instance, I start typing "gh github", I then select "github/d3", hit TAB, Alfred search input gets autocompleted to "gh github/d3" and then I can add " issues" and hit enter to get to the issues page of the d3 repo.

Link to post

Thanks for the feedback!

 

For instance, I start typing "gh github", I then select "github/d3", hit TAB, Alfred search input gets autocompleted to "gh github/d3" and then I can add " issues" and hit enter to get to the issues page of the d3 repo.

It should already work this way: Example (I typed: "gh github/", DOWN, DOWN, TAB, "is", DEL, DEL, "#")

Link to post
  • 4 weeks later...
  • 1 month later...

Update: I added the missing "gh user/repo issues new" command. And before some weeks I added copy & paste possibilities: With cmd+enter the URL of the current item is copied and pasted to the frontmost app. If you just want to copy the URL, hit cmd+c.

Link to post
  • 2 weeks later...
  • 3 months later...
  • 1 year later...
  • 5 months later...
  • 10 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...