Commit graph

6 commits

Author SHA1 Message Date
Rainer Sigwald
ad7b4b0130
Clarify error in powershell completion test 2020-04-03 07:18:19 -05:00
Mislav Marohnić
aa07c5366e Add support for PowerShell completion 2020-03-05 09:33:49 +01:00
Mislav Marohnić
2abee0905b Add fish completion support via Cobra contributor
Co-authored-by: Tim Reddehase <tim.reddehase@xing.com>
2020-01-28 22:04:40 +01:00
Mislav Marohnić
48aeff1ca7 Assert stdout separarely from stderr in command tests
This stubs stderr separately from stdout in command tests (before those
streams were combined) and improves test assertions around output.

Additionally, no longer use the `cmd.Print*()` family of Cobra functions
because their name sounds like the text will go to stdout, but they
write to stderr instead. Use the more explicit `cmd.ErrOrStderr()` as
output destination instead.
2019-12-16 15:46:42 +01:00
Mislav Marohnić
2621bccc44 Use RunCommand in tests to ensure flags reset between runs 2019-12-03 17:26:28 +01:00
Mislav Marohnić
4f03370aa5 Add tests 2019-10-31 23:43:50 +01:00