diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-02-12 03:13:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-12 03:13:19 +0100 |
commit | 89237033fd38d91308ff7e5b9511aff41f44e0e8 (patch) | |
tree | 188ddbf1f914a3e3040c7fede6e27a5ab17af31a /vendor/github.com/urfave/cli/funcs.go | |
parent | ea20ead35b69b1259f2ff3b00f558c473a921b95 (diff) | |
parent | a1ab6788e4df5cf270e99befdd69026e5d7fcd3a (diff) | |
download | podman-89237033fd38d91308ff7e5b9511aff41f44e0e8.tar.gz podman-89237033fd38d91308ff7e5b9511aff41f44e0e8.tar.bz2 podman-89237033fd38d91308ff7e5b9511aff41f44e0e8.zip |
Merge pull request #2300 from baude/cleanupurfave
Remove urfave/cli from libpod
Diffstat (limited to 'vendor/github.com/urfave/cli/funcs.go')
-rw-r--r-- | vendor/github.com/urfave/cli/funcs.go | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/vendor/github.com/urfave/cli/funcs.go b/vendor/github.com/urfave/cli/funcs.go deleted file mode 100644 index 0036b1130..000000000 --- a/vendor/github.com/urfave/cli/funcs.go +++ /dev/null @@ -1,44 +0,0 @@ -package cli - -// BashCompleteFunc is an action to execute when the bash-completion flag is set -type BashCompleteFunc func(*Context) - -// BeforeFunc is an action to execute before any subcommands are run, but after -// the context is ready if a non-nil error is returned, no subcommands are run -type BeforeFunc func(*Context) error - -// AfterFunc is an action to execute after any subcommands are run, but after the -// subcommand has finished it is run even if Action() panics -type AfterFunc func(*Context) error - -// ActionFunc is the action to execute when no subcommands are specified -type ActionFunc func(*Context) error - -// CommandNotFoundFunc is executed if the proper command cannot be found -type CommandNotFoundFunc func(*Context, string) - -// OnUsageErrorFunc is executed if an usage error occurs. This is useful for displaying -// customized usage error messages. This function is able to replace the -// original error messages. If this function is not set, the "Incorrect usage" -// is displayed and the execution is interrupted. -type OnUsageErrorFunc func(context *Context, err error, isSubcommand bool) error - -// ExitErrHandlerFunc is executed if provided in order to handle ExitError values -// returned by Actions and Before/After functions. -type ExitErrHandlerFunc func(context *Context, err error) - -// FlagStringFunc is used by the help generation to display a flag, which is -// expected to be a single line. -type FlagStringFunc func(Flag) string - -// FlagNamePrefixFunc is used by the default FlagStringFunc to create prefix -// text for a flag's full name. -type FlagNamePrefixFunc func(fullName, placeholder string) string - -// FlagEnvHintFunc is used by the default FlagStringFunc to annotate flag help -// with the environment variable details. -type FlagEnvHintFunc func(envVar, str string) string - -// FlagFileHintFunc is used by the default FlagStringFunc to annotate flag help -// with the file path details. -type FlagFileHintFunc func(filePath, str string) string |