go_sysutils/exec_extra/types.go
2024-06-17 04:33:30 -04:00

26 lines
378 B
Go

package exec_extra
import (
`reflect`
`r00t2.io/goutils/bitmask`
)
type (
cmdArgOpt bitmask.MaskBit
)
type (
cmdArgFlag struct {
defaults *bitmask.MaskBit
fieldOpts *bitmask.MaskBit
boolMap map[string]bool
strMap map[string]string
shortFlag string
longFlag string
field *reflect.StructField
value *reflect.Value
argSlice *[]string
}
)