auth0-cli icon indicating copy to clipboard operation
auth0-cli copied to clipboard

tenants list --json returns csv

Open gunzy83 opened this issue 10 months ago • 2 comments

Checklist

  • [X] I have looked into the README and have not found a suitable solution or answer.
  • [X] I have looked into the documentation and have not found a suitable solution or answer.
  • [X] I have searched the issues and have not found a suitable solution or answer.
  • [X] I have upgraded to the latest version of this project and the issue still persists.
  • [X] I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • [X] I agree to the terms within the Auth0 Code of Conduct.

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

gunzy83 avatar Apr 16 '24 02:04 gunzy83

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!

developerkunal avatar Jun 18 '24 09:06 developerkunal

Thanks @developerkunal!

gunzy83 avatar Jun 19 '24 03:06 gunzy83