MCPcopy
hub / github.com/urfave/cli / First

Method First

args.go:12–12  ·  args.go::Args.First

First returns the first argument, or else a blank string

()

Source from the content-addressed store, hash-verified

10 Get(n int) string
11 // First returns the first argument, or else a blank string
12 First() string
13 // Tail returns the rest of the arguments (not the first one)
14 // or else an empty string slice
15 Tail() []string

Callers 4

helpCommandActionFunction · 0.65
shouldRunCompletionFunction · 0.65
runMethod · 0.65
TestCommand_RunFunction · 0.65

Implementers 1

Calls

no outgoing calls

Tested by 1

TestCommand_RunFunction · 0.52