2022-05-20 13:48:16 +02:00
|
|
|
# NOTE: this file is used by the tool defined in
|
2022-09-02 20:42:41 +02:00
|
|
|
# ./cmd/urfave-cli-genflags/main.go which uses the
|
|
|
|
# `Spec` type that maps to this file structure.
|
2022-05-20 13:48:16 +02:00
|
|
|
flag_types:
|
2022-09-13 15:44:44 +02:00
|
|
|
bool:
|
2022-09-02 20:42:41 +02:00
|
|
|
struct_fields:
|
2022-09-13 15:44:44 +02:00
|
|
|
- name: Count
|
|
|
|
type: int
|
|
|
|
pointer: true
|
|
|
|
float64:
|
|
|
|
Float64Slice:
|
|
|
|
value_pointer: true
|
|
|
|
skip_interfaces:
|
|
|
|
- fmt.Stringer
|
2022-09-02 20:42:41 +02:00
|
|
|
int:
|
|
|
|
struct_fields:
|
2022-09-13 15:44:44 +02:00
|
|
|
- name: Base
|
|
|
|
type: int
|
|
|
|
IntSlice:
|
2022-05-20 13:48:16 +02:00
|
|
|
value_pointer: true
|
|
|
|
skip_interfaces:
|
|
|
|
- fmt.Stringer
|
2022-09-13 15:44:44 +02:00
|
|
|
int64:
|
|
|
|
struct_fields:
|
|
|
|
- name: Base
|
|
|
|
type: int
|
2022-05-20 13:48:16 +02:00
|
|
|
Int64Slice:
|
|
|
|
value_pointer: true
|
|
|
|
skip_interfaces:
|
|
|
|
- fmt.Stringer
|
2022-09-13 15:44:44 +02:00
|
|
|
uint:
|
|
|
|
struct_fields:
|
|
|
|
- name: Base
|
|
|
|
type: int
|
|
|
|
UintSlice:
|
|
|
|
value_pointer: true
|
|
|
|
skip_interfaces:
|
|
|
|
- fmt.Stringer
|
|
|
|
uint64:
|
|
|
|
struct_fields:
|
|
|
|
- name: Base
|
|
|
|
type: int
|
|
|
|
Uint64Slice:
|
2022-05-20 13:48:16 +02:00
|
|
|
value_pointer: true
|
|
|
|
skip_interfaces:
|
|
|
|
- fmt.Stringer
|
2022-09-13 15:44:44 +02:00
|
|
|
string:
|
|
|
|
struct_fields:
|
|
|
|
- name: TakesFile
|
|
|
|
type: bool
|
2022-05-20 13:48:16 +02:00
|
|
|
StringSlice:
|
|
|
|
value_pointer: true
|
|
|
|
skip_interfaces:
|
|
|
|
- fmt.Stringer
|
|
|
|
struct_fields:
|
2022-09-13 15:44:44 +02:00
|
|
|
- name: TakesFile
|
|
|
|
type: bool
|
|
|
|
time.Duration:
|
2022-05-20 13:48:16 +02:00
|
|
|
Timestamp:
|
|
|
|
value_pointer: true
|
|
|
|
struct_fields:
|
2022-09-13 15:44:44 +02:00
|
|
|
- name: Layout
|
|
|
|
type: string
|
|
|
|
- name: Timezone
|
|
|
|
type: "*time.Location"
|
|
|
|
Generic:
|
|
|
|
no_destination_pointer: true
|
|
|
|
struct_fields:
|
|
|
|
- name: TakesFile
|
|
|
|
type: bool
|
|
|
|
Path:
|
|
|
|
struct_fields:
|
|
|
|
- name: TakesFile
|
|
|
|
type: bool
|