cmd

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2021 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagNameVerbose = "verbose"
	FlagNameConfig  = "config"

	DefaultConfigFileName = "screenshots.yaml"
)

FlagNameVerbose the full name of the verbose flag FlagNameConfig the full name of the config flag DefaultConfigFileName the default value of the config file

Variables

View Source
var (
	FlagVerbose = &cli.BoolFlag{
		Name:     FlagNameVerbose,
		Aliases:  []string{"v"},
		Required: false,
		Value:    false,
	}
	FlagConfig = &cli.StringFlag{
		Name:     FlagNameConfig,
		Aliases:  []string{"c"},
		Required: false,
		Value:    DefaultConfigFileName,
	}
)

FlagVerbose the cli tools verbose flag FlagConfig the cli tools config flag

View Source
var Doctor = &cli.Command{
	Name:   "doctor",
	Action: doctor,
}
View Source
var Init = &cli.Command{
	Name:   "init",
	Action: initCmd,
}

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