aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/urfave/cli/funcs.go
diff options
context:
space:
mode:
authorJoseph Richey <joerichey@google.com>2019-10-25 17:15:27 -0700
committerGitHub <noreply@github.com>2019-10-25 17:15:27 -0700
commitb24e4ccd245861f7537f17c3e01be2cbefb1b29e (patch)
tree41270d37811b1410b7d1cad9bc9fa9e2cdfd3447 /vendor/github.com/urfave/cli/funcs.go
parent5d888ac2c654a3ac00cd4b608cba0ca1dce47678 (diff)
Delete vendored code and update CI to Go 1.13 (#158)
As the Go community transitions to using the modules ecosystem, we want to only support one way of managing dependencies. So this change moves to only using Go modules for dependency management. This means that our effective minimum Go version increases to Go 1.11. To account for this, we also update: - the documentation - Makefile - CI scripts
Diffstat (limited to 'vendor/github.com/urfave/cli/funcs.go')
-rw-r--r--vendor/github.com/urfave/cli/funcs.go28
1 files changed, 0 insertions, 28 deletions
diff --git a/vendor/github.com/urfave/cli/funcs.go b/vendor/github.com/urfave/cli/funcs.go
deleted file mode 100644
index cba5e6c..0000000
--- a/vendor/github.com/urfave/cli/funcs.go
+++ /dev/null
@@ -1,28 +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
-
-// FlagStringFunc is used by the help generation to display a flag, which is
-// expected to be a single line.
-type FlagStringFunc func(Flag) string