Add tests for CLI flags

This includes various bug fixes, especially around the area of missing
names for `<kind>/<name>` formats.

Signed-off-by: Hidde Beydals <hello@hidde.co>
This commit is contained in:
Hidde Beydals
2020-12-14 16:11:46 +01:00
parent 3c1793b6c5
commit 996bfe87ff
20 changed files with 526 additions and 54 deletions

View File

@ -237,7 +237,6 @@ func ParseObjectKindName(input string) (string, string) {
if len(parts) == 2 {
kind, name = parts[0], parts[1]
}
return kind, name
}