| 1 | package cliscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/ |
| 2 | |
| 3 | type ( |
| 4 | StringSlicescip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/StringSlice# = SliceBasescip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/SliceBase#[string, StringConfigscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/StringConfig#, stringValuescip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/stringValue#] |
| 5 | StringSliceFlagscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/StringSliceFlag# = FlagBasescip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/FlagBase#[[]string, StringConfigscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/StringConfig#, StringSlicescip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/StringSlice#] |
| 6 | ) |
| 7 | |
| 8 | var NewStringSlicescip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/NewStringSlice. = NewSliceBasescip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/NewSliceBase().[string, StringConfigscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/StringConfig#, stringValuescip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/stringValue#] |
| 9 | |
| 10 | // StringSlice looks up the value of a local StringSliceFlag, returns |
| 11 | // nil if not found |
| 12 | func (cmd *Commandscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/Command#) StringSlicescip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/Command#StringSlice().(name string) []string { |
| 13 | if v, ok := cmd.Valuescip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/Command#Value().(name).([]string); ok { |
| 14 | tracefscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/tracef().("string slice available for flag name %[1]q with value=%[2]v (cmd=%[3]q)", name, v, cmd.Namescip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/Command#Name.) |
| 15 | return v |
| 16 | } |
| 17 | |
| 18 | tracefscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/tracef().("string slice NOT available for flag name %[1]q (cmd=%[2]q)", name, cmd.Namescip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/Command#Name.) |
| 19 | return nil |
| 20 | } |