gh-open

command module
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2019 License: GPL-3.0 Imports: 5 Imported by: 0

README

gh-open Dependabot Status

Open a GitHub repository in your browser.

Installation

Run go get github.com/ffflorian/go-tools/gh-open.

Usage

Open a GitHub repository in your browser.

Usage:
  gh-open [options] [directory]

Options:
  --timeout, -t      Set a custom timeout for HTTP requests
  --print, -p        just print the URL
  --branch, -b       open the branch tree (and not the PR)
  --debug, -d        enable debug mode
  --version, -v      output the version number
  --help, -h         output usage information

Hint: You can also enable the debug mode by setting the environment variable DEBUG to "gh-open".

Example:

NODE_DEBUG="gh-open" gh-open

Test

go test

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL