997 B
997 B
Feedback shortcut
This change adds a dedicated feedback shortcut group for submitting GitLink platform feedback from the CLI.
New command:
feedback +create
The command wraps POST /api/v1/{owner}/feedbacks.json and improves the CLI experience around the narrow API payload:
- Resolves the current authenticated user with
GET /users/mewhen--useris omitted. - Accepts feedback text from
--content,--from, and--stdin, combining multiple sources with blank lines. - Adds optional metadata lines for
--category,--contact, and--repo-refbefore the body. - Supports
--dry-runto preview method, path, payload, and content length without submitting. - Rejects empty feedback before making any API request.
Documentation was added to README, README.zh-CN, and skills/gitlink-feedback/SKILL.md.
Verification:
go test ./shortcuts/feedbackgo test ./shortcutsgo test ./...go build ./...git diff --check- UTF-8 mojibake scan on touched files