https://github.com/dawsbot/opent
cli to open travis-ci module pages in your browser
https://github.com/dawsbot/opent
Last synced: over 1 year ago
JSON representation
cli to open travis-ci module pages in your browser
- Host: GitHub
- URL: https://github.com/dawsbot/opent
- Owner: dawsbot
- License: mit
- Created: 2016-03-19T00:46:44.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-05-21T05:07:17.000Z (about 10 years ago)
- Last Synced: 2024-05-02T05:38:04.517Z (about 2 years ago)
- Language: JavaScript
- Size: 11.7 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Contributing: .github/contributing.md
- License: license
Awesome Lists containing this project
README
# opent
[](https://www.travis-ci.com/package/opent)
[](https://travis-ci.org/dawsonbotsford/opent)
[](http://travis-ci.org/opent)
[](https://github.com/sindresorhus/xo)
> open travis-ci module pages in your browser
# CLI
## Install
```
$ npm install -g opent
```
## Usage
For your first use, `opent` will ask for your GitHub username. Config is stored in a JSON file located in `$XDG_CONFIG_HOME` or `~/.config`. It can be changed manually if need be. Read more about the [configstore](https://github.com/yeoman/configstore)
```
$ opent
//=> opens the travis-ci module page for the current directory in browser
$ opent chalk
//=> opens the travis-ci module page for chalk in browser
$ opent inf sist opent
//=> opens the travis-ci module pages for inf, sist, and opent in browser
```
More help
```
$ opent --help
Usage
$ opent
//=> opens the travis-ci module page for the current directory in browser
$ opent [*]
//=> opens the travis-ci module page for N-lengthed packages in browser'
Examples
$ opent express
//=> opens the travis-ci module page for express in browser
```
---
# Package
## Install
```
npm install --save opent
```
## Usage
```js
const opent = require('opent');
opent('expressjs', 'express');
//=> https://travis-ci.org/expressjs/express
```
## API
### opent(username, repoName)
##### username
Type: `string`
##### repoName
Type: `string`
#### returns
Type: `string`
## Related
* [openg](https://github.com/dawsonbotsford/openg)
* [openm](https://github.com/dawsonbotsford/openm)
## License
MIT © [Dawson Botsford](http://dawsonbotsford.com)
---
If you like this, star it. If you want to follow me, follow me.