Skip to content

Update README.md to not use both --json and -q (quiet) in examples cli #736

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

Closed
wants to merge 1 commit into from

Conversation

agustif
Copy link

@agustif agustif commented Apr 29, 2025

image

this example doesnt make sense.

also --quiet cli flag is curerntly broken and will output json logs anyways... see #585

Copy link

github-actions bot commented Apr 29, 2025

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@agustif
Copy link
Author

agustif commented Apr 29, 2025

I have read the CLA Document and I hereby sign the CLA

@@ -217,7 +217,7 @@ The hardening mechanism Codex uses depends on your OS:
| ------------------------------------ | ----------------------------------- | ------------------------------------ |
| `codex` | Interactive REPL | `codex` |
| `codex "..."` | Initial prompt for interactive REPL | `codex "fix lint errors"` |
| `codex -q "..."` | Non-interactive "quiet mode" | `codex -q --json "explain utils.ts"` |
| `codex -q "..."` | Non-interactive "quiet mode" | `codex -q "explain utils.ts"` |

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The command works for me (and gives me what I want) when I just reverse --json and -q.

Suggested change
| `codex -q "..."` | Non-interactive "quiet mode" | `codex -q "explain utils.ts"` |
| `codex -q "..."` | Non-interactive "quiet mode" | `codex --json -q "explain utils.ts"` |

@agustif agustif closed this May 6, 2025
@github-actions github-actions bot locked and limited conversation to collaborators May 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants