* Separate partitioning from globbing in cmdutil/args package and consumers In the previous commit, GlobPaths was overloaded, containing logic specific to command use-cases. This commit removes that functionality from GlobPaths and back into the commands that have the special use-cases. To do this, I've introduced a new Partition util in cmdutil/args.go that will separate a slice into two slices given a predicate. This functionality is leveraged by both the special use-cases described above to separate the command-specific syntax from the globable filepaths. * Add test to validate that the order of '-' in gh gist create args doesn't matter |
||
|---|---|---|
| .. | ||
| args.go | ||
| args_test.go | ||
| auth_check.go | ||
| auth_check_test.go | ||
| cmdgroup.go | ||
| errors.go | ||
| factory.go | ||
| factory_test.go | ||
| file_input.go | ||
| flags.go | ||
| json_flags.go | ||
| json_flags_test.go | ||
| legacy.go | ||
| repo_override.go | ||