Merge pull request #1898 from superbrothers/stdout

Fix "get" commands to use stdout instead of stderr
This commit is contained in:
Stefan Prodan 2021-10-06 10:48:33 +03:00 committed by GitHub
commit 5aa9ae511f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -177,7 +177,7 @@ func (get getCommand) run(cmd *cobra.Command, args []string) error {
return err
}
utils.PrintTable(cmd.OutOrStderr(), header, rows)
utils.PrintTable(cmd.OutOrStdout(), header, rows)
if getAll {
fmt.Println()