ByteSync icon indicating copy to clipboard operation
ByteSync copied to clipboard

5.6 Add initiator-side CLI waiting for invited clients

Open marwannettour opened this issue 6 months ago • 0 comments

Parent epic: #311

Summary

Support --wait and --timeout in the trusted-session start CLI flow.

Requirements

  • After session creation and invitation sending, wait for invitation responses when requested.
  • Display status per client.
  • Respect timeout.
  • Return the documented exit code.
  • Provide structured JSON output when --json is used.

Acceptance criteria

  • CLI wait mode reports accepted, rejected, failed, expired, and joined states.
  • Timeout returns the correct exit code.
  • JSON output is stable and script-friendly.

marwannettour avatar May 19 '26 12:05 marwannettour