Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mloberg/gh-view
GitHub CLI extension to view the current branch's PR
https://github.com/mloberg/gh-view
gh-extension
Last synced: 9 days ago
JSON representation
GitHub CLI extension to view the current branch's PR
- Host: GitHub
- URL: https://github.com/mloberg/gh-view
- Owner: mloberg
- License: mit
- Created: 2021-09-13T21:55:17.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-24T13:26:06.000Z (over 1 year ago)
- Last Synced: 2024-12-24T10:13:10.945Z (15 days ago)
- Topics: gh-extension
- Language: Shell
- Homepage:
- Size: 4.88 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `gh view` GitHub CLI Extension
An extension for [GitHub CLI](https://cli.github.com/) that opens the current PR
in your browser.## Installation
gh extension install mloberg/gh-view
## Usage
gh view
If the current branch is a PR, it will open that.
If there is no PR for the branch, it will instead open the branch. You can also
view a file in the current branch by passing the filename (and optional line).gh view main.go
gh view main.go:312