hipcat

command module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2016 License: MIT Imports: 4 Imported by: 0

README

hipcat

pipe data to hipchat

Check ~/.hipcat for default configs, otherwise uses passed file and/or args.

$ go run hipcat.go -h
NAME:
   hipcat - read file or stdin to hipchat

USAGE:
   hipcat [global options] command [command options] [arguments...]

VERSION:
   0.0.1

COMMANDS:
   help, h      Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --room, -r                   hipchat room [$HIPCAT_ROOM]
   --token, -t                  hipchat api token [$HIPCAT_TOKEN]
   --sender, -s "hipcat"        hipchat sender [$HIPCAT_SENDER]
   --host, -H                   hipchat host [$HIPCAT_HOST]
   --config, -c                 hipcat config file  [$HIPCAT_CONFIG]
   --help, -h                   show help
   --version, -v                print the version

EXAMPLES

# after setting up ~/.hipcat, see .hipcat.sample
$ echo "foo bar bah @jmervine" > example.txt
$ cat example.txt | go run hipcat.go
foo bar bah @jmervine
$ go run hipcat.go example.txt
foo bar bah @jmervine

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Godeps
_workspace/src/github.com/codegangsta/cli
Package cli provides a minimal framework for creating and organizing command line Go applications.
Package cli provides a minimal framework for creating and organizing command line Go applications.
_workspace/src/github.com/google/go-querystring/query
Package query implements encoding of structs into URL query parameters.
Package query implements encoding of structs into URL query parameters.
_workspace/src/github.com/jmervine/hipchat-go/hipchat
Package hipchat provides a client for using the HipChat API v2.
Package hipchat provides a client for using the HipChat API v2.
_workspace/src/gopkg.in/yaml.v2
Package yaml implements YAML support for the Go language.
Package yaml implements YAML support for the Go language.

Jump to

Keyboard shortcuts

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