Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TSV output doesn't include headers #234

Open
SaarasM opened this issue Feb 25, 2021 · 0 comments
Open

TSV output doesn't include headers #234

SaarasM opened this issue Feb 25, 2021 · 0 comments
Assignees

Comments

@SaarasM
Copy link

SaarasM commented Feb 25, 2021

Currently tsv output is the only output type that doesn't include headers, despite tsv files commonly having headers. Is there a reason to remove headers for this output type?

C:\Users\smehan>az version -o json
{
  "azure-cli": "2.9.1",
  "azure-cli-command-modules-nspkg": "2.0.3",
  "azure-cli-core": "2.9.1",
  "azure-cli-nspkg": "3.0.4",
  "azure-cli-telemetry": "1.0.4",
  "extensions": {
    "azure-devops": "0.18.0",
    "interactive": "0.4.4"
  }
}

C:\Users\smehan>az version -o jsonc
{
  "azure-cli": "2.9.1",
  "azure-cli-command-modules-nspkg": "2.0.3",
  "azure-cli-core": "2.9.1",
  "azure-cli-nspkg": "3.0.4",
  "azure-cli-telemetry": "1.0.4",
  "extensions": {
    "azure-devops": "0.18.0",
    "interactive": "0.4.4"
  }
}

C:\Users\smehan>az version -o none

C:\Users\smehan>az version -o table
Azure-cli    Azure-cli-command-modules-nspkg    Azure-cli-core    Azure-cli-nspkg    Azure-cli-telemetry
-----------  ---------------------------------  ----------------  -----------------  ---------------------
2.9.1        2.0.3                              2.9.1             3.0.4              1.0.4

C:\Users\smehan>az version -o yaml
azure-cli: 2.9.1
azure-cli-command-modules-nspkg: 2.0.3
azure-cli-core: 2.9.1
azure-cli-nspkg: 3.0.4
azure-cli-telemetry: 1.0.4
extensions:
  azure-devops: 0.18.0
  interactive: 0.4.4

C:\Users\smehan>az version -o yamlc
azure-cli: 2.9.1
azure-cli-command-modules-nspkg: 2.0.3
azure-cli-core: 2.9.1
azure-cli-nspkg: 3.0.4
azure-cli-telemetry: 1.0.4
extensions:
  azure-devops: 0.18.0
  interactive: 0.4.4

C:\Users\smehan>az version -o tsv
2.9.1   2.0.3   2.9.1   3.0.4   1.0.4                                         <-- No headers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants