gro

package module
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: May 2, 2021 License: MIT Imports: 2 Imported by: 0

README

CI

git-remote-opener

git-remote-opener is a command line tool to open a web page of a remote repository.

The following git hosting services are operation checked.

  • GitHub
  • GitLab
  • Bitbucket

Installation

$ go get github.com/hxrxchang/git-remote-opener/cmd/gro

If you don't use Go, download the binary from GitHub Releases and drop it in your $PATH.
(For example, /usr/local/bin or $HOME/bin)

Usage

$ cd <path-to-your-project>
$ gro

Then, browser will open a remote repository's page of your project.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRepoURL

func GetRepoURL(remoteURLString string) (string, error)

Types

type RepoInfo

type RepoInfo struct {
	Hostname, User, Repo string
}

Directories

Path Synopsis
cmd
gro
gro/mock
Package mock_main is a generated GoMock package.
Package mock_main is a generated GoMock package.

Jump to

Keyboard shortcuts

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