Skip to content
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

Feature request: grit browse #56

Open
ezzatron opened this issue Dec 4, 2017 · 6 comments
Open

Feature request: grit browse #56

ezzatron opened this issue Dec 4, 2017 · 6 comments
Milestone

Comments

@ezzatron
Copy link
Collaborator

ezzatron commented Dec 4, 2017

NAME:
   grit browse - Open a browser window to the GitHub project associated with <slug>.

USAGE:
   grit browse <slug>
@jmalloc
Copy link
Owner

jmalloc commented Dec 4, 2017

Blocked by #57

@jmalloc
Copy link
Owner

jmalloc commented Dec 4, 2017

Partially addressed in v0.6.7 -- naively assumes all repos are on GitHub or a GHE installation.

@jmalloc
Copy link
Owner

jmalloc commented Dec 12, 2020

I was thinking about changing the open (alias browse) command to navigate to the current branch/tag/hash in the code view, rather than always loading the default branch. Thoughts?

@ezzatron
Copy link
Collaborator Author

Seems useful to me. Perhaps a flag to open the default instead would also be good.

@jmalloc
Copy link
Owner

jmalloc commented Dec 12, 2020

Just as a note, the official Github CLI also includes a similar feature in the gh repo view -w command, which is a bit wordy, but could be aliased.

I had been wondering whether this command has a place in grit going forward, though I think with the addition of the feature mentioned above (navigating to the current branch, etc) and the fact that grit is not actually github-specific it probably still deserves a place.

@jmalloc jmalloc added this to the 2.0.0 milestone Aug 16, 2021
@ezzatron
Copy link
Collaborator Author

Another small thing that would be nice here. A way to directly open the "homepage" URL set on a GitHub repo. E.g. on a Terraform config repo I usually set this to link to the workspace on Terraform Cloud, and if you could to grit open homepage (or similar), you could get a lot of power out of a simple feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants