Add global flags to enable safe non-interactive and AI agent operation:
- `--yes`/`-y`: Skip confirmation prompts (auto-confirm destructive actions)
- `--json`: Machine-readable JSON output for all commands
- `--verbose`/`-v`: Detailed output for debugging
- `--dry-run`: Preview what a command would do without executing
- `--force`/`-f`: Override safety checks where appropriate
These patterns make the CLI usable by automation scripts and AI agents that cannot interact with confirmation prompts, while preserving safety for interactive human use.
Upstream: forgejo-cli#260 - rejected without explanation.
Add global flags to enable safe non-interactive and AI agent operation:
- \`--yes\`/\`-y\`: Skip confirmation prompts (auto-confirm destructive actions)
- \`--json\`: Machine-readable JSON output for all commands
- \`--verbose\`/\`-v\`: Detailed output for debugging
- \`--dry-run\`: Preview what a command would do without executing
- \`--force\`/\`-f\`: Override safety checks where appropriate
These patterns make the CLI usable by automation scripts and AI agents that cannot interact with confirmation prompts, while preserving safety for interactive human use.
**Upstream:** [forgejo-cli#260](https://codeberg.org/forgejo-contrib/forgejo-cli/pulls/260) - rejected without explanation.