aboutsummaryrefslogtreecommitdiff
path: root/flag.go
diff options
context:
space:
mode:
authorEric Paris <[email protected]>2015-06-01 00:23:40 -0400
committerEric Paris <[email protected]>2015-06-22 15:21:12 -0400
commit29224ee030bd4e687e95d1d8df55303269b49337 (patch)
tree6d47e7ce7f8aaab6bde38250866301d7a06fafa3 /flag.go
parent0367f40254871b491ab74dbe3cc237f06fb34f27 (diff)
Add new StringSlice flag type
Arguments passed on the command line will be split on "," and will be stored in a slice. We can see this already exits in codegangsta/cli https://github.com/codegangsta/cli/blob/44d40054fa6208a3013d7217aca72a2b8b0f5a0b/flag.go#L102 And people have written their own implementations for cobra/pflag https://github.com/GoogleCloudPlatform/kubernetes/blob/c5ba95ee26cbec9694a780544b559a797956ea54/pkg/util/list.go Lets just make it a first class flag
Diffstat (limited to 'flag.go')
0 files changed, 0 insertions, 0 deletions