Skip to content

feat: implement watch command #2

@overtrue

Description

@overtrue

Description

Implement the watch command for monitoring S3 bucket events in real-time.

Requirements

  • Subscribe to bucket notifications (object created, deleted, etc.)
  • Support event filtering by prefix/suffix
  • Requires S3 Bucket Notifications feature support

Acceptance Criteria

  • rc watch <bucket> - Watch for events on a bucket
  • Support event type filtering (--events create,delete)
  • Support prefix/suffix filtering (--prefix, --suffix)
  • Return EXIT_UNSUPPORTED_FEATURE (7) when Notifications is not supported
  • Support --force flag to bypass capability detection

Notes

This is a capability-dependent feature. Requires the storage provider to support S3 Bucket Notifications or compatible event streaming.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions