An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# opent
[![npm version](https://img.shields.io/npm/v/opent.svg)](https://www.travis-ci.com/package/opent)
[![Build Status](https://travis-ci.org/dawsonbotsford/opent.svg?branch=master)](https://travis-ci.org/dawsonbotsford/opent)
[![npm download count](http://img.shields.io/npm/dm/opent.svg?style=flat)](http://travis-ci.org/opent)
[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](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.