| 1 | package cliscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/ |
| 2 | |
| 3 | import ( |
| 4 | "flagscip-go gomod github.com/golang/go/src go1.22 flag/" |
| 5 | "timescip-go gomod github.com/golang/go/src go1.22 time/" |
| 6 | ) |
| 7 | |
| 8 | type extFlagscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/extFlag# struct { |
| 9 | fscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/extFlag#f. *flagscip-go gomod github.com/golang/go/src go1.22 flag/.Flagscip-go gomod github.com/golang/go/src go1.22 flag/Flag# |
| 10 | } |
| 11 | |
| 12 | func (e *extFlagscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/extFlag#) PreParsescip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/extFlag#PreParse().() error { |
| 13 | if e.fscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/extFlag#f..DefValuescip-go gomod github.com/golang/go/src go1.22 flag/Flag#DefValue. != "" { |
| 14 | return e.Setscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/extFlag#Set().("", e.fscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/extFlag#f..DefValuescip-go gomod github.com/golang/go/src go1.22 flag/Flag#DefValue.) |
| 15 | } |
| 16 | |
| 17 | return nil |
| 18 | } |
| 19 | |
| 20 | func (e *extFlagscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/extFlag#) PostParsescip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/extFlag#PostParse().() error { |
| 21 | return nil |
| 22 | } |
| 23 | |
| 24 | func (e *extFlagscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/extFlag#) Setscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/extFlag#Set().(_ string, val string) error { |
| 25 | return e.fscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/extFlag#f..Valuescip-go gomod github.com/golang/go/src go1.22 flag/Flag#Value..Setscip-go gomod github.com/golang/go/src go1.22 flag/Value#Set().(val) |
| 26 | } |
| 27 | |
| 28 | func (e *extFlagscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/extFlag#) Getscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/extFlag#Get().() any { |
| 29 | return e.fscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/extFlag#f..Valuescip-go gomod github.com/golang/go/src go1.22 flag/Flag#Value..(flagscip-go gomod github.com/golang/go/src go1.22 flag/.Getterscip-go gomod github.com/golang/go/src go1.22 flag/Getter#).Getscip-go gomod github.com/golang/go/src go1.22 flag/Getter#Get().() |
| 30 | } |
| 31 | |
| 32 | func (e *extFlagscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/extFlag#) Namesscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/extFlag#Names().() []string { |
| 33 | return []string{e.fscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/extFlag#f..Namescip-go gomod github.com/golang/go/src go1.22 flag/Flag#Name.} |
| 34 | } |
| 35 | |
| 36 | func (e *extFlagscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/extFlag#) IsSetscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/extFlag#IsSet().() bool { |
| 37 | return false |
| 38 | } |
| 39 | |
| 40 | func (e *extFlagscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/extFlag#) Stringscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/extFlag#String().() string { |
| 41 | return FlagStringerscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/FlagStringer.(e) |
| 42 | } |
| 43 | |
| 44 | func (e *extFlagscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/extFlag#) IsVisiblescip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/extFlag#IsVisible().() bool { |
| 45 | return true |
| 46 | } |
| 47 | |
| 48 | func (e *extFlagscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/extFlag#) TakesValuescip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/extFlag#TakesValue().() bool { |
| 49 | return false |
| 50 | } |
| 51 | |
| 52 | func (e *extFlagscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/extFlag#) GetUsagescip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/extFlag#GetUsage().() string { |
| 53 | return e.fscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/extFlag#f..Usagescip-go gomod github.com/golang/go/src go1.22 flag/Flag#Usage. |
| 54 | } |
| 55 | |
| 56 | func (e *extFlagscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/extFlag#) GetValuescip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/extFlag#GetValue().() string { |
| 57 | return e.fscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/extFlag#f..Valuescip-go gomod github.com/golang/go/src go1.22 flag/Flag#Value..Stringscip-go gomod github.com/golang/go/src go1.22 flag/Value#String().() |
| 58 | } |
| 59 | |
| 60 | func (e *extFlagscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/extFlag#) GetDefaultTextscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/extFlag#GetDefaultText().() string { |
| 61 | return e.fscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/extFlag#f..DefValuescip-go gomod github.com/golang/go/src go1.22 flag/Flag#DefValue. |
| 62 | } |
| 63 | |
| 64 | func (e *extFlagscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/extFlag#) GetEnvVarsscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/extFlag#GetEnvVars().() []string { |
| 65 | return nil |
| 66 | } |
| 67 | |
| 68 | func (e *extFlagscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/extFlag#) SchemaTypescip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/extFlag#SchemaType().() string { |
| 69 | switch e.Getscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/extFlag#Get().().(type) { |
| 70 | case bool: |
| 71 | return "boolean" |
| 72 | case int, int8, int16, int32, int64, uint, uint8, uint16, uint32, uint64: |
| 73 | return "integer" |
| 74 | case float32, float64: |
| 75 | return "number" |
| 76 | case string: |
| 77 | return "string" |
| 78 | case timescip-go gomod github.com/golang/go/src go1.22 time/.Durationscip-go gomod github.com/golang/go/src go1.22 time/Duration#: |
| 79 | return "duration" |
| 80 | case timescip-go gomod github.com/golang/go/src go1.22 time/.Timescip-go gomod github.com/golang/go/src go1.22 time/Time#: |
| 81 | return "date-time" |
| 82 | default: |
| 83 | return "" |
| 84 | } |
| 85 | } |
| 86 | |
| 87 | func (e *extFlagscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/extFlag#) SchemaItemsTypescip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/extFlag#SchemaItemsType().() string { |
| 88 | return "" |
| 89 | } |