1.2.3 • Published 3 years ago

@feizheng/git-url-cli v1.2.3

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

git-url-cli

Get git http/https/ssh/git url.

version license size download

installation

# install
npm i -g @feizheng/git-url-cli

# uninstall
npm uninstall -g @feizheng/git-url-cli

usage

guc
# https://github.com/afeiship/git-url-cli

# open the `url`
open `guc -u`
Options:
  --version      Show version number                                   [boolean]
  --url, -u      Github/gitlab url.                                    [boolean]
  --ssh, -s      Show `ssh` git url.                                   [boolean]
  --https, -h    Show `https` git url.                                 [boolean]
  --pages, -p    Show `gh_pages/pages` in github/gitlab.               [boolean]
  --mr, -m       Show `merge request url` in gitlab.                   [boolean]
  --actions, -a  Show `actions/piplines` in github/gitlab.             [boolean]
  --help         Show help                                             [boolean]
$ guc -u
# https://github.com/afeiship/git-url-cli

$ guc -h
# https://github.com/afeiship/git-url-cli.git

$ guc -s
# git@github.com:afeiship/git-url-cli.git

$ guc -p
# https://afeiship.github.io/git-url-cli/

$ guc -a
# https://github.com/afeiship/git-url-cli/actions/new

resources

license

Code released under the MIT license.

1.2.3

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago