- Notifications
You must be signed in to change notification settings - Fork928
fix: display the correct response for coder list#16547
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
github-actionsbot commentedFeb 12, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
All contributors have signed the CLA ✍️ ✅ |
I have read the CLA Document and I hereby sign the CLA |
43ac0f0
to2a5a34b
Compare2a5a34b
toa12f553
CompareThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Minor nit to add a comment 👍
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
981cf8c
intomainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Closes#16312
We intend to modify the behavior of the CLI handler based on the specified output format. However, the output format is currently only accessible within the
OutputFormatter
structure. Therefore, I propose extendingOutputFormatter
by introducing a publicFormatID
method, which will allow us to retrieve the format identifier and use it to customize the behavior of the CLI handler accordingly.An alternative approach would be to make the implementation more generic. Instead of defining a
FormatID
method, we could introduce anIsMachineReadableFormat() bool
method. This method would indicate whether the output format is machine-readable, allowing us to adjust the CLI handler's behavior accordingly.