You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ wget https://registry.npmjs.org/git-open/-/git-open-2.1.0.tgz
$ tar -xvzf git-open-2.1.0.tgz
$ head -n 25 package/git-open
#!/usr/bin/env bash# Use git-sh-setup, similar to git-rebase# https://www.kernel.org/pub/software/scm/git/docs/git-sh-setup.html# https://github.com/git/git/blob/master/git-rebase.sh# shellcheck disable=SC2034
OPTIONS_STUCKLONG=t
# shellcheck disable=SC2034
OPTIONS_KEEPDASHDASH=
# shellcheck disable=SC2034
OPTIONS_SPEC="\git open [options]git open [remote] [branch]-- Opens the GitHub page for a repo/branch in your browser. https://github.com/paulirish/git-open/ Available options arei,issue! open issues page"# https://github.com/koalaman/shellcheck/wiki/SC1090# shellcheck source=/dev/null
SUBDIRECTORY_OK='Yes'."$(git --exec-path)/git-sh-setup"
Notice how the options present in the bash shell script are very less - just one, but in reality, the latest version of git-open has a lot of options, for example these are all the options I see when I install without npm
$ git open -h
usage: git open [options]
or: git open [remote] [branch]
Opens the GitHub page fora repo/branchin your browser.
https://github.com/paulirish/git-open/
Available options are
-c, --commit open current commit
-i, --issue open issues page
-s, --suffix ... append this suffix
-p, --print just print the url
Can we update the npm package to have the correct binary? Please? :)
The text was updated successfully, but these errors were encountered:
Notice how the options present in the bash shell script are very less - just one, but in reality, the latest version of git-open has a lot of options, for example these are all the options I see when I install without npm
Can we update the npm package to have the correct binary? Please? :)
The text was updated successfully, but these errors were encountered: