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

Method Int32

flag_int.go:85–87  ·  view source on GitHub ↗

Int32 looks up the value of a local Int32Flag, returns 0 if not found

(name string)

Source from the content-addressed store, hash-verified

83// Int32 looks up the value of a local Int32Flag, returns
84// 0 if not found
85func (cmd *Command) Int32(name string) int32 {
86 return getInt[int32](cmd, name)
87}
88
89// Int64 looks up the value of a local Int64Flag, returns
90// 0 if not found

Callers 1

TestInt32FlagFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestInt32FlagFunction · 0.76