Implement slug engagement commands #8
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#8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Goal
Implement
slugcommands for inspecting post engagement.Spec:
docs/cli-specs/10-engagement-commands.mdRequirements
501 Not Implementedresponses clearly.Acceptance criteria
--jsonoutput is valid.501 Not Implementedresponses are displayed clearly.Dependencies
Synced from todu comment by @todu on 2026-06-04T12:50:56.769Z
Scope update
User decision: use a resource/filter command structure for engagement commands instead of
slug posts engagement|likes|boosts <slug>.Approved CLI shape:
slug engagement summary --post <slug> [--json]slug engagement list --post <slug> --type like|boost [--json]Rules:
--post <slug>is required because the current engagement API is post-scoped.--type like|boostis required for engagement row listing.summaryreturns counts from/posts/{slug}/engagement.list --type likecalls/posts/{slug}/likes.list --type boostcalls/posts/{slug}/boosts.Synced from todu comment by @todu on 2026-06-04T12:54:16.458Z
PR Review
PR: #94
Review result: approved
Acceptance criteria: 8 total, 8 met, 0 missing
Blocking issues: 0
Warnings: 0
Notes:
slug engagement summary --post <slug>andslug engagement list --post <slug> --type like|boost.Verification:
./scripts/pre-pr.shpassed locally.CI / build-lint-test (pull_request)issuccess.Verdict: Approved. Ready for human merge approval.
Synced from todu comment by @todu on 2026-06-04T12:57:42.364Z
Completed
slug engagement summary --post <slug>andslug engagement list --post <slug> --type like|boostcommand shape.mainatcc4f262, with implementation commit3f8cd89addingcli/src/commands.tsandcli/src/__tests__/commands.test.ts../scripts/pre-pr.shpassed locally, and Forgejo CICI / build-lint-test (pull_request)succeeded.