aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/urfave/cli/funcs.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-07-09 13:22:59 +0200
committerMichael Muré <batolettre@gmail.com>2019-07-09 13:22:59 +0200
commit14022953823fc768849b6cc826b05b61a89b7626 (patch)
tree4d4f70ee46b9cc230d6602cb066c697f8a0a4e8e /vendor/github.com/urfave/cli/funcs.go
parenta5c42b7c11fc082d47027ba5e0dbdeddcc14e62e (diff)
downloadgit-bug-14022953823fc768849b6cc826b05b61a89b7626.tar.gz
graphql: don't use the gqlgen command to generate to avoid pulling urfave/cli
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 cba5e6cb..00000000
--- 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