[codex] Simplify user flow and docs#6
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 99d3ddd8fc
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if raw_args and raw_args[0] not in legacy_commands and not raw_args[0].startswith("-"): | ||
| raw_args = ["report", *raw_args] |
There was a problem hiding this comment.
Restore legacy invocation when options precede input path
The new legacy shim only prepends report when the first token is not an option, so previously valid calls like inbox-report --no-pdf /path/to/Mail.mbox now fail with an invalid command error instead of running a strict report. This is a behavior regression introduced by the subcommand migration and will break existing scripts/automation that place flags before the positional input (which argparse accepted in the prior CLI).
Useful? React with 👍 / 👎.
What changed
Validation