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

Method Int16

flag_int.go:79–81  ·  view source on GitHub ↗

Int16 looks up the value of a local Int16Flag, returns 0 if not found

(name string)

Source from the content-addressed store, hash-verified

77// Int16 looks up the value of a local Int16Flag, returns
78// 0 if not found
79func (cmd *Command) Int16(name string) int16 {
80 return getInt[int16](cmd, name)
81}
82
83// Int32 looks up the value of a local Int32Flag, returns
84// 0 if not found

Callers 1

TestInt16FlagFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestInt16FlagFunction · 0.76