Skip to content

Refactor text output #2544

@waldekmastykarz

Description

@waldekmastykarz

Discussed in #2453

Originally posted by waldekmastykarz May 27, 2021
I'd like to propose that in v4 we refactor the text output mode:

  1. We rename it to table so that it's clearer what it does. Since in the terminal everything is text, text isn't pretty descriptive. Using table instead would be clearer and we'd align with the Azure CLI
  2. We change it so that you always get to see a table. Right now, if you get just one result, we transpose the output so that you get a key-value pair output where each pair is printed in a new line. Originally we introduced it for readability but I'm not sure if it's worth the effort and if consistency wouldn't be preferable.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions