godock

command module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2014 License: BSD-2-Clause Imports: 9 Imported by: 0

README

Usage

List the flows you can write to

wm > glowdock flows
        ID	|                 Name	| Organization	| URL

iora:room1	|         water cooler	| Iora Health	| https://api.flowdock.com/flows/iora/room1
iora:room2	| Technical Discussions	| Iora Health	| https://api.flowdock.com/flows/iora/room2

Write to a flow

wm > glowdock message --flow="iora:room2" --prepend="#some prepended text" "some message"

Stream messages and comments from some flows

wm > glowdock stream -o iora -f 'egg misc'
 
MSG: egg 10009047 wm message this is me in Egg
 
MSG: misc 10017608 wm message this is me in misc

Building

To build the binary you need to pass some variables.

wm > go build . -ldflags "-X main.clientSecret XXXX -X main.clientId YYYY -X main.version z.z.z"

Where XXXX and YYYY are the secret and ID for the app you have registered with Flowdock. And z.z.z is the version of the app.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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