open-repo-cli
CLI that quickly opens GitHub pages.
Last updated 2 months ago by jaid .
Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install open-repo-cli 
SYNC missed versions from official npm registry.

open-repo-cli

License Sponsor open-repo-cli
Build status Commits since v1.0.1 Last commit Issues
Latest version on npm Dependents Downloads

CLI that quickly opens GitHub pages.

Installation

open-repo-cli on npm

npm install --global open-repo-cli@^1.0.1

open-repo-cli on Yarn

yarn global add open-repo-cli@^1.0.1

@jaid/open-repo-cli on GitHub Packages
(if configured properly)

npm install --global @jaid/open-repo-cli@^1.0.1

Example

Open the repository for the current project

cd /c/Users/Jaid/Projects/readable-ms
open-repo-cli
# https://github.com/Jaid/readable-ms

Open a repository you own

This reads your .gitconfig (user.username or user.name property) to determine your GitHub username. Can be overwritten with env variable githubUser or option --github-user.

open-repo-cli sure-array
# https://github.com/Jaid/sure-array

Open any repository

open-repo-cli webpack/tapable
# https://github.com/webpack/tapable

Open a repository by npm package name

open-repo-cli npm chalk
# https://github.com/chalk/chalk

open-repo-cli npm @babel/core
# https://github.com/babel/babel

Open any repository file

open-repo-cli webpack/tapable/package.json
# https://github.com/webpack/tapable/blob/master/package.json

CLI Usage

After installing package open-repo-cli globally, you can use its command line interface.

open-repo-cli

For usage instructions:

open-repo-cli --help

Development

Setting up:

git clone git@github.com:jaid/open-repo-cli.git
cd open-repo-cli
npm install

Testing:

npm run test:dev

Testing in production environment:

npm run test

License

MIT License
Copyright © 2020, Jaid <jaid.jsx@gmail.com> (https://github.com/jaid)

Current Tags

  • 1.0.1                                ...           latest (2 months ago)

1 Versions

  • 1.0.1                                ...           2 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 8
Dependencies (7)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |