Answer: GitHub Copilot CLI supports command line options including -p PROMPT, -s, --add-dir=DIRECTORY, --agent=AGENT, --allow-all (or --yolo), --allow-all-paths, --allow-all-tools, --allow-all-urls, --allow-tool=TOOL, --allow-url=URL, --assisted-approval, --attachment=PATH, --available-tools=TOOL, --deny-tool=TOOL, --deny-url=URL, --excluded-tools=TOOL, --fleet, --model=MODEL, --no-ask-user, --no-auto-update, --output-format=FORMAT, --secret-env-vars=VAR, --trust-folder, --share=PATH, and --share-gist. Status: Confirmed Entry: tool/github-copilot/commands-and-shortcuts/cli-command-line-options Revision: 3 Digest: sha256:c51f479f99867636 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:31:48Z Last changed: 2026-11-18T13:09:19Z (share gist option: — → --share-gist) Last verified: 2026-11-20T13:13:16Z Next check: 2026-11-21T13:13:16Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of prompt option | -p PROMPT | [1] | 2026-11-20 suppress stats option | -s | [1] | 2026-11-20 allow all option | --allow-all (or --yolo ) | [1] | 2026-11-20 model option | --model=MODEL | [1] | 2026-11-20 output format option | --output-format=FORMAT | [1] | 2026-11-20 share option | --share=PATH | [1] | 2026-11-20 share gist option | --share-gist | [1] | 2026-11-20 Sources: [1] GitHub. "GitHub Copilot CLI programmatic reference - GitHub Docs". https://docs.github.com/en/copilot/reference/copilot-cli-reference/cli-programmatic-reference Role: primary. Accessed: 2026-11-20T13:13:16Z Quote: "-p PROMPT Execute a prompt in non-interactive mode." (Supports: prompt option) Quote: "-s Suppress stats and decoration, outputting only the agent's response." (Supports: suppress stats option) Quote: "--allow-all (or --yolo ) Allow the CLI all permissions." (Supports: allow all option) Quote: "--model=MODEL Choose the AI model" (Supports: model option) Quote: "--output-format=FORMAT Set the output format: text (the default) or json ." (Supports: output format option) Quote: "--share=PATH Export the session transcript to a markdown file after non-interactive completion" (Supports: share option) Quote: "--share-gist Publish the session transcript as a secret GitHub gist after completion." (Supports: share gist option) Snapshot SHA-256: b602b79754b43eac1a94d06d2449530ec8c83c8b0e37ab167e33ac5d861f6624 (captured 2026-11-18T13:09:20Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-18T13:09:19Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:13:16Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:13:16Z Last attempt: 2026-11-20T13:13:16Z Notes and limitations: Extracted automatically from a single official source (section "Command line options"). Related: https://latestn.com/tool/github-copilot/commands-and-shortcuts/cli-session-management How do I delete GitHub Copilot CLI session data or re-index the session store? https://latestn.com/tool/github-copilot/commands-and-shortcuts/cli-shortcuts What keyboard shortcuts does GitHub Copilot CLI support? https://latestn.com/tool/github-copilot/commands-and-shortcuts/copilot-chat-participants How do I mention a chat participant like @workspace in GitHub Copilot Chat? https://latestn.com/tool/github-copilot/commands-and-shortcuts/chronicle-command-options What does the /chronicle slash command do in GitHub Copilot CLI and which subcommands exist? https://latestn.com/tool/github-copilot/commands-and-shortcuts/chronicle-insights-instructions How do I use /chronicle in GitHub Copilot to generate insights and feed them into copilot-instructions.md? https://latestn.com/tool/github-copilot/commands-and-shortcuts/clean-up-voice-prompts How do I clean up or edit voice-entered prompts in GitHub Copilot CLI? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T13:09:19Z | changed | share gist option: — → --share-gist | [1] 2026-11-18T13:09:19Z | changed | allow all option: — → --allow-all (or --yolo ) | [1] 2026-11-18T13:09:19Z | changed | trust folder option: --trust-folder → — | [1] 2026-11-18T13:09:19Z | changed | fleet option: --fleet → — | [1] 2026-11-18T13:09:19Z | changed | allow-all option: --allow-all (or --yolo ) → — | [1] 2026-11-16T12:57:31Z | changed | allow-all option: — → --allow-all (or --yolo ) | [1] 2026-11-16T12:57:31Z | changed | allow-all alias: --allow-all (or --yolo ) → — | [1] 2026-11-13T03:31:48Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/commands-and-shortcuts/cli-command-line-options/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/github-copilot/commands-and-shortcuts/cli-command-line-options POST: https://latestn.com/dispute/tool/github-copilot/commands-and-shortcuts/cli-command-line-options with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/commands-and-shortcuts/cli-command-line-options?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What command line options does GitHub Copilot CLI support? Revision 3, last verified 2026-11-20T13:13:16Z. https://latestn.com/tool/github-copilot/commands-and-shortcuts/cli-command-line-options (accessed 2026-11-21T09:59:33Z). @misc{LatestN_tool_github_copilot_commands_and_shortcuts_cli_command_line_options_r3, title = {What command line options does GitHub Copilot CLI support?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/commands-and-shortcuts/cli-command-line-options}}, note = {Revision 3; digest sha256:c51f479f99867636; last verified 2026-11-20T13:13:16Z; accessed 2026-11-21T09:59:33Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/github-copilot/commands-and-shortcuts/cli-command-line-options