commands

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2017 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RunCommand = &cli.Command{
	Name:    "run",
	Aliases: []string{"r"},
	Usage:   "run cain",
	Action:  runAction,
	Flags: []cli.Flag{
		&cli.StringFlag{
			Name:  "path",
			Usage: "custom path",
		},
		&cli.StringFlag{
			Name:  "path-env",
			Usage: "get path from specified environment variable",
		},
		&cli.BoolFlag{
			Name:  "non-strict",
			Usage: "use non strict matching, be aware that it could match the wrong media that way",
		},
	},
}
View Source
var SetupCommand = &cli.Command{
	Name:    "setup",
	Aliases: []string{"s"},
	Usage:   "create config file with sensitive defaults",
	Action:  setupAction,
}
View Source
var UpdateCommand = &cli.Command{
	Name:   "update",
	Usage:  "update cain to the newest version (if available)",
	Action: updateAction,
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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