cli

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var App = &cli.App{
	Name:     Name,
	HelpName: Name,
	Usage:    Description,
	Version:  Version,
	Commands: cli.Commands{
		commands.PathsCommand,
		commands.ReposCommand,
		commands.StatusCommand,
		commands.StatusNotificationCommand,
	},
	Flags: []cli.Flag{
		cli.StringSliceFlag{
			Name:   "path",
			Usage:  "the path patterns of git repositories. If this options is specified, the git global configuration of `remind.paths` will be ignored. You may specify multiple paths like --path=/path/to/a --path=/path/to/b",
			EnvVar: "GIT_REMIND_PATHS",
		},
	},
	Before: func(context *cli.Context) error {
		cliglobalopts.SetPathPatterns(context.StringSlice("path"))
		return nil
	},
}
View Source
var Description string
View Source
var Name string
View Source
var Version string

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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