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: 0

Documentation

Index

Constants

This section is empty.

Variables

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

	FuncMap tmpl.FuncMap
)
View Source
var (
	DefaultPushBullet *pushbullet.PushBullet
)
View Source
var (
	Flags = []cli.Flag{
		cli.StringFlag{
			Name:   "token",
			EnvVar: "PUSHBULLET_ACCESS_TOKEN",
			Usage:  "Access token for push action",
		},
		cli.StringFlag{
			Name:   "title",
			Value:  "ping",
			EnvVar: "PUSHBULLET_TITLE",
			Usage:  "Push message title",
		},
		cli.StringFlag{
			Name:   "tmpl",
			EnvVar: "PUSHBULLET_TMPL",
			Usage:  "PushBullet message template",
		},
		cli.StringFlag{
			Name:   "email",
			EnvVar: "PUSHBULLET_EMAIL",
			Usage:  "Email identity for Pushbullet to send to",
		},
		cli.StringFlag{
			Name:   "device-iden",
			EnvVar: "PUSHBULLET_DEVICE_IDEN",
			Usage:  "Device identity for Pushbullet to send to",
		},
	}
)

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