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

Method Int8

flag_int.go:73–75  ·  view source on GitHub ↗

Int8 looks up the value of a local Int8Flag, returns 0 if not found

(name string)

Source from the content-addressed store, hash-verified

71// Int8 looks up the value of a local Int8Flag, returns
72// 0 if not found
73func (cmd *Command) Int8(name string) int8 {
74 return getInt[int8](cmd, name)
75}
76
77// Int16 looks up the value of a local Int16Flag, returns
78// 0 if not found

Callers 1

TestInt8FlagFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestInt8FlagFunction · 0.76