diff --git a/testdata/get__missing__err.ct b/testdata/get__missing__err.ct new file mode 100644 index 0000000..92ac16e --- /dev/null +++ b/testdata/get__missing__err.ct @@ -0,0 +1,14 @@ +$ pda get foobar --> FAIL +Error: Key not found +Usage: + pda get KEY[@DB] [flags] + +Aliases: + get, g + +Flags: + -h, --help help for get + -b, --include-binary include binary data in text output + --no-template directly output template syntax + -c, --run execute the result as a shell command + --secret display values marked as secret diff --git a/testdata/get__missing__err__with__any.ct b/testdata/get__missing__err__with__any.ct new file mode 100644 index 0000000..e178f4c --- /dev/null +++ b/testdata/get__missing__err__with__any.ct @@ -0,0 +1,104 @@ +$ pda get foobar --> FAIL +$ pda get foobar --include-binary --> FAIL +$ pda get foobar --include-binary --run --> FAIL +$ pda get foobar --include-binary --run --secret --> FAIL +$ pda get foobar --run --> FAIL +$ pda get foobar --run --secret --> FAIL +$ pda get foobar --secret --> FAIL +Error: Key not found +Usage: + pda get KEY[@DB] [flags] + +Aliases: + get, g + +Flags: + -h, --help help for get + -b, --include-binary include binary data in text output + --no-template directly output template syntax + -c, --run execute the result as a shell command + --secret display values marked as secret + +Error: Key not found +Usage: + pda get KEY[@DB] [flags] + +Aliases: + get, g + +Flags: + -h, --help help for get + -b, --include-binary include binary data in text output + --no-template directly output template syntax + -c, --run execute the result as a shell command + --secret display values marked as secret + +Error: Key not found +Usage: + pda get KEY[@DB] [flags] + +Aliases: + get, g + +Flags: + -h, --help help for get + -b, --include-binary include binary data in text output + --no-template directly output template syntax + -c, --run execute the result as a shell command + --secret display values marked as secret + +Error: Key not found +Usage: + pda get KEY[@DB] [flags] + +Aliases: + get, g + +Flags: + -h, --help help for get + -b, --include-binary include binary data in text output + --no-template directly output template syntax + -c, --run execute the result as a shell command + --secret display values marked as secret + +Error: Key not found +Usage: + pda get KEY[@DB] [flags] + +Aliases: + get, g + +Flags: + -h, --help help for get + -b, --include-binary include binary data in text output + --no-template directly output template syntax + -c, --run execute the result as a shell command + --secret display values marked as secret + +Error: Key not found +Usage: + pda get KEY[@DB] [flags] + +Aliases: + get, g + +Flags: + -h, --help help for get + -b, --include-binary include binary data in text output + --no-template directly output template syntax + -c, --run execute the result as a shell command + --secret display values marked as secret + +Error: Key not found +Usage: + pda get KEY[@DB] [flags] + +Aliases: + get, g + +Flags: + -h, --help help for get + -b, --include-binary include binary data in text output + --no-template directly output template syntax + -c, --run execute the result as a shell command + --secret display values marked as secret