GitHub Copilot Train-the-Trainer
Programmatic Mode: Scriptable AI
Run a prompt from the command line with this CLI feature.
copilot -p "PROMPT" [OPTIONS]
Embed Copilot in scripts, CI/CD, and cron jobs:
copilot -p "Generate a changelog from the last 10 commits" \
--silent > changelog.md
copilot -p "Fix all ESLint errors in src/" --autopilot
cat error.log | copilot -p "Summarize the top 5 error patterns"
Programmatic mode supports terminal automation.