MCPcopy Index your code
hub / github.com/cloudflare/cloudflared / isEmptyInvocation

Function isEmptyInvocation

cmd/cloudflared/main.go:166–168  ·  view source on GitHub ↗
(c *cli.Context)

Source from the content-addressed store, hash-verified

164}
165
166func isEmptyInvocation(c *cli.Context) bool {
167 return c.NArg() == 0 && c.NumFlags() == 0
168}
169
170func action(graceShutdownC chan struct{}) cli.ActionFunc {
171 return cliutil.ConfiguredAction(func(c *cli.Context) (err error) {

Callers 1

actionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected