@@ -549,11 +549,55 @@ func (cmd *Command) HasName(name string) bool
549549func (cmd *Command) Int(name string) int
550550 Int looks up the value of a local Int64Flag, returns 0 if not found
551551
552- func (c *Command) IntArg(name string) int64
552+ func (cmd *Command) Int16(name string) int16
553+ Int16 looks up the value of a local Int16Flag, returns 0 if not found
553554
554- func (c *Command) IntArgs (name string) []int64
555+ func (c *Command) Int16Arg (name string) int16
555556
556- func (cmd *Command) IntSlice(name string) []int64
557+ func (c *Command) Int16Args(name string) []int16
558+
559+ func (cmd *Command) Int16Slice(name string) []int16
560+ Int16Slice looks up the value of a local Int16SliceFlag, returns nil if not
561+ found
562+
563+ func (cmd *Command) Int32(name string) int32
564+ Int32 looks up the value of a local Int32Flag, returns 0 if not found
565+
566+ func (c *Command) Int32Arg(name string) int32
567+
568+ func (c *Command) Int32Args(name string) []int32
569+
570+ func (cmd *Command) Int32Slice(name string) []int32
571+ Int32Slice looks up the value of a local Int32SliceFlag, returns nil if not
572+ found
573+
574+ func (cmd *Command) Int64(name string) int64
575+ Int64 looks up the value of a local Int64Flag, returns 0 if not found
576+
577+ func (c *Command) Int64Arg(name string) int64
578+
579+ func (c *Command) Int64Args(name string) []int64
580+
581+ func (cmd *Command) Int64Slice(name string) []int64
582+ Int64Slice looks up the value of a local Int64SliceFlag, returns nil if not
583+ found
584+
585+ func (cmd *Command) Int8(name string) int8
586+ Int8 looks up the value of a local Int8Flag, returns 0 if not found
587+
588+ func (c *Command) Int8Arg(name string) int8
589+
590+ func (c *Command) Int8Args(name string) []int8
591+
592+ func (cmd *Command) Int8Slice(name string) []int8
593+ Int8Slice looks up the value of a local Int8SliceFlag, returns nil if not
594+ found
595+
596+ func (c *Command) IntArg(name string) int
597+
598+ func (c *Command) IntArgs(name string) []int
599+
600+ func (cmd *Command) IntSlice(name string) []int
557601 IntSlice looks up the value of a local IntSliceFlag, returns nil if not
558602 found
559603
@@ -615,11 +659,55 @@ func (cmd *Command) ToFishCompletion() (string, error)
615659func (cmd *Command) Uint(name string) uint
616660 Uint looks up the value of a local Uint64Flag, returns 0 if not found
617661
618- func (c *Command) UintArg(name string) uint64
662+ func (cmd *Command) Uint16(name string) uint16
663+ Uint16 looks up the value of a local Uint16Flag, returns 0 if not found
664+
665+ func (c *Command) Uint16Arg(name string) uint16
666+
667+ func (c *Command) Uint16Args(name string) []uint16
668+
669+ func (cmd *Command) Uint16Slice(name string) []uint16
670+ Uint16Slice looks up the value of a local Uint16SliceFlag, returns nil if
671+ not found
672+
673+ func (cmd *Command) Uint32(name string) uint32
674+ Uint32 looks up the value of a local Uint32Flag, returns 0 if not found
675+
676+ func (c *Command) Uint32Arg(name string) uint32
677+
678+ func (c *Command) Uint32Args(name string) []uint32
679+
680+ func (cmd *Command) Uint32Slice(name string) []uint32
681+ Uint32Slice looks up the value of a local Uint32SliceFlag, returns nil if
682+ not found
683+
684+ func (cmd *Command) Uint64(name string) uint64
685+ Uint64 looks up the value of a local Uint64Flag, returns 0 if not found
686+
687+ func (c *Command) Uint64Arg(name string) uint64
688+
689+ func (c *Command) Uint64Args(name string) []uint64
690+
691+ func (cmd *Command) Uint64Slice(name string) []uint64
692+ Uint64Slice looks up the value of a local Uint64SliceFlag, returns nil if
693+ not found
694+
695+ func (cmd *Command) Uint8(name string) uint8
696+ Uint8 looks up the value of a local Uint8Flag, returns 0 if not found
697+
698+ func (c *Command) Uint8Arg(name string) uint8
619699
620- func (c *Command) UintArgs(name string) []uint64
700+ func (c *Command) Uint8Args(name string) []uint8
701+
702+ func (cmd *Command) Uint8Slice(name string) []uint8
703+ Uint8Slice looks up the value of a local Uint8SliceFlag, returns nil if not
704+ found
621705
622- func (cmd *Command) UintSlice(name string) []uint64
706+ func (c *Command) UintArg(name string) uint
707+
708+ func (c *Command) UintArgs(name string) []uint
709+
710+ func (cmd *Command) UintSlice(name string) []uint
623711 UintSlice looks up the value of a local UintSliceFlag, returns nil if not
624712 found
625713
@@ -947,14 +1035,20 @@ type FloatSliceFlag = FlagBase[[]float64, NoConfig, FloatSlice]
9471035
9481036type GenericFlag = FlagBase[Value, NoConfig, genericValue]
9491037
950- type IntArg = ArgumentBase[int64, IntegerConfig, intValue]
1038+ type Int16Arg = ArgumentBase[int16, IntegerConfig, intValue[int16]]
1039+
1040+ type Int16Args = ArgumentsBase[int16, IntegerConfig, intValue[int16]]
1041+
1042+ type Int16Flag = FlagBase[int16, IntegerConfig, intValue[int16]]
9511043
952- type IntArgs = ArgumentsBase[int64 , IntegerConfig, intValue]
1044+ type Int16Slice = SliceBase[int16 , IntegerConfig, intValue[int16] ]
9531045
9541046type Int16SliceFlag = FlagBase[[]int16, IntegerConfig, Int16Slice]
9551047
9561048type Int32Arg = ArgumentBase[int32, IntegerConfig, intValue[int32]]
9571049
1050+ type Int32Args = ArgumentsBase[int32, IntegerConfig, intValue[int32]]
1051+
9581052type Int32Flag = FlagBase[int32, IntegerConfig, intValue[int32]]
9591053
9601054type Int32Slice = SliceBase[int32, IntegerConfig, intValue[int32]]
@@ -963,6 +1057,8 @@ type Int32SliceFlag = FlagBase[[]int32, IntegerConfig, Int32Slice]
9631057
9641058type Int64Arg = ArgumentBase[int64, IntegerConfig, intValue[int64]]
9651059
1060+ type Int64Args = ArgumentsBase[int64, IntegerConfig, intValue[int64]]
1061+
9661062type Int64Flag = FlagBase[int64, IntegerConfig, intValue[int64]]
9671063
9681064type Int64Slice = SliceBase[int64, IntegerConfig, intValue[int64]]
@@ -971,6 +1067,8 @@ type Int64SliceFlag = FlagBase[[]int64, IntegerConfig, Int64Slice]
9711067
9721068type Int8Arg = ArgumentBase[int8, IntegerConfig, intValue[int8]]
9731069
1070+ type Int8Args = ArgumentsBase[int8, IntegerConfig, intValue[int8]]
1071+
9741072type Int8Flag = FlagBase[int8, IntegerConfig, intValue[int8]]
9751073
9761074type Int8Slice = SliceBase[int8, IntegerConfig, intValue[int8]]
@@ -979,6 +1077,8 @@ type Int8SliceFlag = FlagBase[[]int8, IntegerConfig, Int8Slice]
9791077
9801078type IntArg = ArgumentBase[int, IntegerConfig, intValue[int]]
9811079
1080+ type IntArgs = ArgumentsBase[int, IntegerConfig, intValue[int]]
1081+
9821082type IntFlag = FlagBase[int, IntegerConfig, intValue[int]]
9831083
9841084type IntSlice = SliceBase[int, IntegerConfig, intValue[int]]
@@ -1157,9 +1257,49 @@ type TimestampConfig struct {
11571257
11581258type TimestampFlag = FlagBase[time.Time, TimestampConfig, timestampValue]
11591259
1160- type UintArg = ArgumentBase[uint64, IntegerConfig, uintValue]
1260+ type Uint16Arg = ArgumentBase[uint16, IntegerConfig, uintValue[uint16]]
1261+
1262+ type Uint16Args = ArgumentsBase[uint16, IntegerConfig, uintValue[uint16]]
1263+
1264+ type Uint16Flag = FlagBase[uint16, IntegerConfig, uintValue[uint16]]
1265+
1266+ type Uint16Slice = SliceBase[uint16, IntegerConfig, uintValue[uint16]]
1267+
1268+ type Uint16SliceFlag = FlagBase[[]uint16, IntegerConfig, Uint16Slice]
1269+
1270+ type Uint32Arg = ArgumentBase[uint32, IntegerConfig, uintValue[uint32]]
1271+
1272+ type Uint32Args = ArgumentsBase[uint32, IntegerConfig, uintValue[uint32]]
1273+
1274+ type Uint32Flag = FlagBase[uint32, IntegerConfig, uintValue[uint32]]
1275+
1276+ type Uint32Slice = SliceBase[uint32, IntegerConfig, uintValue[uint32]]
1277+
1278+ type Uint32SliceFlag = FlagBase[[]uint32, IntegerConfig, Uint32Slice]
1279+
1280+ type Uint64Arg = ArgumentBase[uint64, IntegerConfig, uintValue[uint64]]
1281+
1282+ type Uint64Args = ArgumentsBase[uint64, IntegerConfig, uintValue[uint64]]
1283+
1284+ type Uint64Flag = FlagBase[uint64, IntegerConfig, uintValue[uint64]]
1285+
1286+ type Uint64Slice = SliceBase[uint64, IntegerConfig, uintValue[uint64]]
1287+
1288+ type Uint64SliceFlag = FlagBase[[]uint64, IntegerConfig, Uint64Slice]
1289+
1290+ type Uint8Arg = ArgumentBase[uint8, IntegerConfig, uintValue[uint8]]
1291+
1292+ type Uint8Args = ArgumentsBase[uint8, IntegerConfig, uintValue[uint8]]
1293+
1294+ type Uint8Flag = FlagBase[uint8, IntegerConfig, uintValue[uint8]]
1295+
1296+ type Uint8Slice = SliceBase[uint8, IntegerConfig, uintValue[uint8]]
1297+
1298+ type Uint8SliceFlag = FlagBase[[]uint8, IntegerConfig, Uint8Slice]
1299+
1300+ type UintArg = ArgumentBase[uint, IntegerConfig, uintValue[uint]]
11611301
1162- type UintArgs = ArgumentsBase[uint64 , IntegerConfig, uintValue]
1302+ type UintArgs = ArgumentsBase[uint , IntegerConfig, uintValue[uint] ]
11631303
11641304type UintFlag = FlagBase[uint, IntegerConfig, uintValue[uint]]
11651305
0 commit comments