Llangjitianya008feat(discussions): add org discussion create/edit commands
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
feat(discussions): add org discussion create/edit commands Implements org-level discussion write commands: - gc discussions create --org <org> --title --category --body/--body-file [--json] - gc discussions edit <number> --org <org> [--title/--body/--category] [--json] API alignment per the official OpenAPI: - CategoryName field on org create/update discussion options (category is required when creating a discussion) - UpdateOrgDiscussion uses PUT, not PATCH Docs: docs/COMMANDS.md gains sections for both commands. Tests: flag parsing, run validation, HTTP-mocked request assertions (method/path/body), --json output, and API error paths. Refs #552 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> | 1 个月前 | |
feat(discussions): add org discussion create/edit commands Implements org-level discussion write commands: - gc discussions create --org <org> --title --category --body/--body-file [--json] - gc discussions edit <number> --org <org> [--title/--body/--category] [--json] API alignment per the official OpenAPI: - CategoryName field on org create/update discussion options (category is required when creating a discussion) - UpdateOrgDiscussion uses PUT, not PATCH Docs: docs/COMMANDS.md gains sections for both commands. Tests: flag parsing, run validation, HTTP-mocked request assertions (method/path/body), --json output, and API error paths. Refs #552 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> | 1 个月前 |