Skip to content

fix: print a2a version as JSON under -o jsonl - #156

Open
ConnorMoss02 wants to merge 1 commit into
a2aproject:mainfrom
ConnorMoss02:cli-next-version-jsonl
Open

ConnorMoss02 wants to merge 1 commit into
a2aproject:mainfrom
ConnorMoss02:cli-next-version-jsonl

Conversation

@ConnorMoss02

Copy link
Copy Markdown
Contributor

a2a version -o jsonl printed the text form. It now checks IsJSON() like the other commands, so jsonl prints one compact JSON object. Added a jsonl case to TestVersion.

Fixes #154

version checked for -o json only, so -o jsonl printed the text form.
Use IsJSON like the other commands.
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

Successfully merging this pull request may close these issues.

bug: a2a version prints text under -o jsonl

1 participant