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

Inconsistent JSON output support #33

Open
sseifert-akamai opened this issue Mar 5, 2025 · 1 comment · May be fixed by #34
Open

Inconsistent JSON output support #33

sseifert-akamai opened this issue Mar 5, 2025 · 1 comment · May be fixed by #34
Assignees

Comments

@sseifert-akamai
Copy link

Hi, the Cloudlets CLI support for JSON output is inconsistently implemented e.g. when trying to get the versions list for an ALB as JSON, the output is in table format and not JSON, although the json flag was specified and accepted by the command:

akamai cloudlets alb-origin --lb myalb --json

JSON output is only generated when a version number is provided.

Expected behaviour:

  • The CLI shall consistently support JSON output for all commands.

akamai/cli version: 2.0.0
akamai/cli-cloudlets version: 1.2.0
OS: darwin arm_64

@pwongcha pwongcha self-assigned this Mar 7, 2025
@pwongcha pwongcha added the bug Something isn't working label Mar 7, 2025
@pwongcha pwongcha linked a pull request Mar 7, 2025 that will close this issue
@pwongcha pwongcha removed the bug Something isn't working label Mar 7, 2025
@pwongcha pwongcha linked a pull request Mar 7, 2025 that will close this issue
@pwongcha
Copy link
Contributor

pwongcha commented Mar 7, 2025

H @sseifert-akamai thank you for reporting the issue. I could replicate.
Do you have access to help verify the change from the branch GH33-alb-origin-json?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants