Add completion spec: Codex (codex)#208
Closed
lucieleblanc wants to merge 1 commit into
Closed
Conversation
Add command completion spec for OpenAI's Codex CLI, covering: - Global options (--model, --sandbox, --config, --image, etc.) - Subcommands: exec, login, logout, completion, resume, fork, apply, cloud, features, mcp, mcp-server, app, app-server, execpolicy, sandbox, debug - Nested subcommands (exec resume, cloud exec, features enable/disable/list, mcp add/remove/list/authenticate, sandbox macos/linux, debug app-server send-message-v2) - Static suggestions for enum-like arguments (sandbox policies, approval modes, shell names, color modes) - File/folder templates for path arguments Co-Authored-By: Oz <oz-agent@warp.dev>
Contributor
Author
|
No generator screenshots. Closing and retrying once skills are loading correctly. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add command completion spec for OpenAI's Codex CLI (
codex).What's included
Global options:
--model,--sandbox,--ask-for-approval,--config,--image,--cd,--search,--add-dir,--enable/--disable,--full-auto,--yolo,--oss,--profile,--no-alt-screen,--version,--helpSubcommands:
exec— non-interactive mode with its own options (--json,--output-schema,--color,--ephemeral,--skip-git-repo-check,--output-last-message) and nestedexec resumelogin/logout— authenticationcompletion— shell completion script generation (bash, zsh, fish, powershell)resume/fork— session managementapply(alias:a) — apply Codex Cloud diffscloud(alias:cloud-tasks) — browse/execute cloud tasks, with nestedcloud execfeatures— feature flag management (list,enable,disable)mcp— MCP server management (list,add,remove,authenticate)mcp-server— run Codex as an MCP serverapp/app-server— desktop app and serverexecpolicy— evaluate exec policy rulessandbox— run commands in sandboxes (macos/seatbelt,linux/landlock)debug— debug utilities (app-server send-message-v2)Argument completions:
filepathstemplate for image/schema/output file argumentsfolderstemplate for directory arguments (--cd,--add-dir,app PATH)No generators needed — all completions are static.
Validation
npm run format— passed (unchanged)script/presubmit— all checks pass (prettier, cargo fmt, cargo clippy, cargo test: 21 tests passed)Conversation: https://staging.warp.dev/conversation/095d0912-1c91-4770-ba0f-faea76e12ee8
Run: https://oz.staging.warp.dev/runs/019d473b-7316-7d90-85d9-bedbc9fbe669
This PR was generated with Oz.