cli

package
v0.0.0-...-972cdf1 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2015 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NotificationTmpl = "{{.}}"

	FuncMap tmpl.FuncMap
)
View Source
var (
	DefaultSlack *slack.Slack
)
View Source
var (
	Flags = []cli.Flag{
		cli.StringFlag{
			Name:   "url",
			EnvVar: "SLACK_URL",
			Usage:  "Web Integration endpoint for Slack POST message",
		},
		cli.StringFlag{
			Name:   "channel",
			Value:  "#random",
			EnvVar: "SLACK_CHANNEL",
			Usage:  "Slack channel to POST message to",
		},
		cli.StringFlag{
			Name:   "tmpl",
			EnvVar: "SLACK_TMPL",
			Usage:  "Slack message template",
		},
	}
)

Functions

func Before

func Before(c *cli.Context) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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