summaryrefslogtreecommitdiff
path: root/vendor/github.com/urfave/cli/funcs.go
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2019-02-08 20:09:04 -0600
committerbaude <bbaude@redhat.com>2019-02-11 17:48:34 -0600
commita1ab6788e4df5cf270e99befdd69026e5d7fcd3a (patch)
tree62620c54b77201acd5ed578c3ab8b55da8f6ac6a /vendor/github.com/urfave/cli/funcs.go
parent54a5584d84d37632c1c8480d437a012625526a84 (diff)
downloadpodman-a1ab6788e4df5cf270e99befdd69026e5d7fcd3a.tar.gz
podman-a1ab6788e4df5cf270e99befdd69026e5d7fcd3a.tar.bz2
podman-a1ab6788e4df5cf270e99befdd69026e5d7fcd3a.zip
Remove urfave/cli from libpod
This is the final cleanup to remove urfave/sli from libpod. Removed old, disabled tests that have not been run in over a year. Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'vendor/github.com/urfave/cli/funcs.go')
-rw-r--r--vendor/github.com/urfave/cli/funcs.go44
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