feat: add engagement CLI commands #94
No reviewers
Labels
No labels
activitypub
admin
api
articles
auth
bug
cleanup
cli
comments
compatibility
config
contacts
database
deployment
design
dev-env
docs
documentation
email
enhancement
feature
federation
feed
homepage
implementation
integration
media
openapi
priority:high
priority:low
priority:medium
proof
public-routes
public-ui
release
safety
social
sources
status:active
status:canceled
status:done
status:inprogress
status:waiting
syndication
tailwind
template
test
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
erik/slugkit!94
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/task-f39b82a4-engagement-cli"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Implement Slugkit engagement inspection commands in the CLI using the approved resource/filter command structure.
Task
#task-f39b82a4
Changes
slug engagement summary --post <slug> [--json]slug engagement list --post <slug> --type like|boost [--json]Testing
Checklist
./scripts/pre-pr.shpassesPR Review
Summary
Reviewed PR #94 against task
task-f39b82a4and the user-approved command-structure update forslug engagement .... The PR adds engagement summary/list commands, calls post-scoped engagement APIs, supports human and JSON output, and adds mocked CLI tests for success and failure cases.Acceptance criteria
slug engagement summary --post <slug>calls/posts/{slug}/engagement; tests assert path, auth, and count output.slug engagement list --post <slug> --type likecalls/posts/{slug}/likes; tests assert actor/activity output.slug engagement list --post <slug> --type boostcalls/posts/{slug}/boosts; tests assert path and empty output.Post not found: missingis surfaced.--jsonoutput is valid. — tests parse JSON engagement output.501 Not Implementedresponses are displayed clearly. — tests assert standardized message.501, and invalid usage../scripts/pre-pr.shpassed locally and Forgejo CI succeeded.Blocking issues
None.
Warnings
None.
Verification
./scripts/pre-pr.shpassed locally.CI / build-lint-test (pull_request)issuccess.Verdict
Approved. Ready for human merge approval.