cli

command module
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2016 License: MIT Imports: 5 Imported by: 0

README

Command-line tool for kaifa.li

Code Climate

Install

OS X
$ brew install kaifali/formulae/kaifa
Other platforms

Download binaries at https://github.com/kaifali/cli/releases

Usage

usage: kaifa [<flags>] <keyword>

Flags:
  --help           Show context-sensitive help (also try --help-long and --help-man).
  --format="html"  Format: html,json
  --version        Show application version.

Args:
  <keyword>  Keyword of service
Example:

Open browser:

$ kaifa qiniu

Fetch JSON:

$ kaifa qiniu --format=json
#=> {"keyword":"qiniu","name":"七牛","url":"http://developer.qiniu.com"}

Development

  • Install gpm
  • $ gpm install
  • $ go build kaifa.go

Distribute

  • Install gox
  • $ scripts/dist.sh

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL