The CLI prompt parsing was treating positional prompts as subcommands, breaking zop "..." usage. Config commands were limited, default config wasn’t written on first run, and config display ordering was inconsistent.
- Prompt handling & interactive mode
- Accept prompt via
-p, treat no-args as stdin, retain positional prompts, add-i/--interactiveloop - Add model-level
system_promptand apply system precedence: flag → agent → model
- Accept prompt via
- Config usability
- Write default config on first run
- Add
config list/get/set/unset/remove/editacross all sections - Sort
config showoutput deterministically
- Docs & defaults
- Update README usage examples and config commands
- Add
system_prompthints to default config and tests
Example:
zop -p "What is the capital of France?"
zop --interactive --chat my-chat
zop config set models.gpt4o.system_prompt "Be concise."
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.
The CLI prompt parsing was treating positional prompts as subcommands, breaking `zop "..."` usage. Config commands were limited, default config wasn’t written on first run, and config display ordering was inconsistent.
- **Prompt handling & interactive mode**
- Accept prompt via `-p`, treat no-args as stdin, retain positional prompts, add `-i/--interactive` loop
- Add model-level `system_prompt` and apply system precedence: flag → agent → model
- **Config usability**
- Write default config on first run
- Add `config list/get/set/unset/remove/edit` across all sections
- Sort `config show` output deterministically
- **Docs & defaults**
- Update README usage examples and config commands
- Add `system_prompt` hints to default config and tests
Example:
```sh
zop -p "What is the capital of France?"
zop --interactive --chat my-chat
zop config set models.gpt4o.system_prompt "Be concise."
```
<!-- START COPILOT CODING AGENT TIPS -->
---
✨ Let Copilot coding agent [set things up for you](https://github.com/peterwwillis/zop/issues/new?title=✨+Set+up+Copilot+instructions&body=Configure%20instructions%20for%20this%20repository%20as%20documented%20in%20%5BBest%20practices%20for%20Copilot%20coding%20agent%20in%20your%20repository%5D%28https://gh.io/copilot-coding-agent-tips%29%2E%0A%0A%3COnboard%20this%20repo%3E&assignees=copilot) — coding agent works faster and does higher quality work when set up for your repo.