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

Add csv as a supported output format #29385

Open
1 task done
dcaro opened this issue Jul 15, 2024 · 3 comments
Open
1 task done

Add csv as a supported output format #29385

dcaro opened this issue Jul 15, 2024 · 3 comments
Assignees
Labels
Azure CLI Team The command of the issue is owned by Azure CLI team Core CLI core infrastructure feature-request
Milestone

Comments

@dcaro
Copy link

dcaro commented Jul 15, 2024

Preconditions

  • No need to upgrade Python SDK or the Python SDK is ready.

Related command

No response

Resource Provider

N/A

Description of Feature or Work Requested

Azure CLI supports several output format as described in the following page:
https://learn.microsoft.com/en-us/cli/azure/format-output-azure-cli

Supporting 'csv' as an output format would simplify workflows that rely on Excel.

Minimum API Version Required

N/A

Swagger PR link / SDK link

N/A

Request Example

No response

Target Date

2024-11-01

PM Contact

dcaro

Engineer Contact

N/A

Additional context

No response

@yonzhan
Copy link
Collaborator

yonzhan commented Jul 15, 2024

Thank you for opening this issue, we will look into it.

@jiasli
Copy link
Member

jiasli commented Jul 15, 2024

The output formats are provided by knack: https://github.com/microsoft/knack/blob/b1164b57d777711fd3954cf11f18ffb06ab1ca5b/knack/output.py#L94-L101

I submitted the same feature request microsoft/knack#187 4 years ago.

A similar format that we already support is tsv. Supporting cvs would be a low-hanging fruit.

@VK9999
Copy link

VK9999 commented Jul 15, 2024

As discussed thanks for opening this request Damien.

@yonzhan yonzhan added Core CLI core infrastructure Azure CLI Team The command of the issue is owned by Azure CLI team labels Jul 15, 2024
@yonzhan yonzhan added this to the Backlog milestone Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Azure CLI Team The command of the issue is owned by Azure CLI team Core CLI core infrastructure feature-request
Projects
None yet
Development

No branches or pull requests

4 participants