Skip to content

Social monitoring CLI commands #99

@arberx

Description

@arberx

Summary

Add CLI commands for social platform monitoring.

Commands

canonry social connect <project> --platform twitter    # store API key / OAuth
canonry social disconnect <project> --platform reddit
canonry social status <project>                         # show connection status
canonry social mentions <project> [--platform twitter] [--sentiment positive] [--since 2026-01-01] [--format json]
canonry social summary <project> [--format json]

canonry run <project> --kind social-monitor             # trigger social run
canonry run <project> --kind social-monitor --platform reddit

Files

  • packages/canonry/src/commands/social.ts (new)
  • packages/canonry/src/commands/run.ts (extend for --kind social-monitor)
  • packages/canonry/src/commands/index.ts (register)

Depends on

  • Social API endpoints issue

Acceptance Criteria

  • All commands work end-to-end against local server
  • --format json outputs parseable JSON
  • canonry social status shows connected/disconnected per platform
  • canonry run --kind social-monitor triggers and completes
  • Tests capture stdout and assert output
  • pnpm run typecheck passes

Metadata

Metadata

Assignees

No one assigned

    Labels

    phase-aPhase A: Foundation + RedditsocialSocial platform monitoringswarm-readyIssue is ready for the automated swarm to pick up

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions