2022-05-02 03:02:05 +00:00
|
|
|
# NOTE: this file is used by the tool defined in
|
2022-08-14 14:02:07 +00:00
|
|
|
# ./cmd/urfave-cli-genflags/main.go which uses the
|
|
|
|
# `Spec` type that maps to this file structure.
|
2022-05-02 03:02:05 +00:00
|
|
|
|
|
|
|
flag_types:
|
2022-09-05 02:51:05 +00:00
|
|
|
bool:
|
|
|
|
no_default_text: true
|
2022-05-02 03:02:05 +00:00
|
|
|
float64: {}
|
2022-08-25 13:25:47 +00:00
|
|
|
int64:
|
|
|
|
struct_fields:
|
|
|
|
- { name: Base, type: int }
|
|
|
|
int:
|
|
|
|
struct_fields:
|
|
|
|
- { name: Base, type: int }
|
2022-05-02 03:02:05 +00:00
|
|
|
time.Duration: {}
|
2022-08-25 13:25:47 +00:00
|
|
|
uint64:
|
|
|
|
struct_fields:
|
|
|
|
- { name: Base, type: int }
|
|
|
|
uint:
|
|
|
|
struct_fields:
|
|
|
|
- { name: Base, type: int }
|
2022-05-02 03:02:05 +00:00
|
|
|
|
|
|
|
string:
|
2022-09-05 02:51:05 +00:00
|
|
|
no_default_text: true
|
2022-05-02 03:02:05 +00:00
|
|
|
struct_fields:
|
|
|
|
- { name: TakesFile, type: bool }
|
|
|
|
Generic:
|
|
|
|
struct_fields:
|
|
|
|
- { name: TakesFile, type: bool }
|
|
|
|
Path:
|
2022-09-05 02:51:05 +00:00
|
|
|
no_default_text: true
|
2022-05-02 03:02:05 +00:00
|
|
|
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 }
|
2022-07-09 11:43:14 +00:00
|
|
|
- { name: Timezone, type: "*time.Location" }
|
2022-05-02 03:02:05 +00:00
|
|
|
|
|
|
|
# TODO: enable UintSlice
|
|
|
|
# UintSlice: {}
|
|
|
|
# TODO: enable Uint64Slice once #1334 lands
|
|
|
|
# Uint64Slice: {}
|