67 lines
1.4 KiB
YAML
67 lines
1.4 KiB
YAML
# NOTE: this file is used by the tool defined in
|
|
# ./cmd/urfave-cli-genflags/main.go which uses the
|
|
# `Spec` type that maps to this file structure.
|
|
|
|
flag_types:
|
|
bool:
|
|
struct_fields:
|
|
- { name: Count, type: int, pointer: true }
|
|
float64: {}
|
|
int64:
|
|
struct_fields:
|
|
- { name: Base, type: int }
|
|
int:
|
|
struct_fields:
|
|
- { name: Base, type: int }
|
|
time.Duration: {}
|
|
uint64:
|
|
struct_fields:
|
|
- { name: Base, type: int }
|
|
uint:
|
|
struct_fields:
|
|
- { name: Base, type: int }
|
|
|
|
string:
|
|
struct_fields:
|
|
- { name: TakesFile, type: bool }
|
|
Generic:
|
|
struct_fields:
|
|
- { name: TakesFile, type: bool }
|
|
Path:
|
|
struct_fields:
|
|
- { name: TakesFile, type: bool }
|
|
|
|
Float64Slice:
|
|
value_pointer: true
|
|
skip_interfaces:
|
|
- fmt.Stringer
|
|
Int64Slice:
|
|
value_pointer: true
|
|
skip_interfaces:
|
|
- fmt.Stringer
|
|
IntSlice:
|
|
value_pointer: true
|
|
skip_interfaces:
|
|
- fmt.Stringer
|
|
StringSlice:
|
|
value_pointer: true
|
|
skip_interfaces:
|
|
- fmt.Stringer
|
|
struct_fields:
|
|
- { name: TakesFile, type: bool }
|
|
Timestamp:
|
|
value_pointer: true
|
|
struct_fields:
|
|
- { name: Layout, type: string }
|
|
- { name: Timezone, type: "*time.Location" }
|
|
|
|
UintSlice:
|
|
value_pointer: true
|
|
skip_interfaces:
|
|
- fmt.Stringer
|
|
Uint64Slice:
|
|
value_pointer: true
|
|
skip_interfaces:
|
|
- fmt.Stringer
|
|
|