auth0 / auth0-cli

Build, manage and test your Auth0 integrations from the command line
https://auth0.github.io/auth0-cli/
MIT License
238 stars 50 forks source link

tenants list --json returns csv #995

Open gunzy83 opened 2 months ago

gunzy83 commented 2 months ago

Checklist

Description

As mentioned in https://github.com/auth0/auth0-cli/issues/773 a feature was added to include an indicator with the currently selected tenant. This adds an arrow to the output including in the csv output with --csv but the --json flag returns csv as well.

Expectation

The --json flag returns JSON I can parse with other tools (eg jq).

Reproduction

auth0 tenants ls --json vs auth0 tenants list --csv, both return the same output.

image

Auth0 CLI version

1.4.0

developerkunal commented 3 weeks ago

Hi @gunzy83,

I hope you are doing well.

Thanks for reporting the issue. We have merged the PR (#1002) to address this. It should be fixed in the next version release.

Thank you!

gunzy83 commented 2 weeks ago

Thanks @developerkunal!