Commit graph

3 commits

Author SHA1 Message Date
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
vilmibm
619c42fc87 use iota 2019-11-25 11:33:59 -06:00
vilmibm
633c8c070b factor out title body prompting 2019-11-20 11:39:42 -06:00