Skip to content

Add device-code approval (approver side) #53

Description

@altaywtf

Context

The put.io iOS/tvOS rewrite's agent-readiness harness (putdotio/putio-ios#146) must automate the TV sign-in flow end to end. auth login covers the inbound device flow (CLI shows a code), but there is no command for the approver side — approving a code shown by another device, the way a user does at put.io/link.

What this delivers

An auth approve <code> (or similar) command that approves a pending device-link code using the authenticated profile, with JSON output and --dry-run like other writes.

Notes

The harness calls the API directly for this until the command exists; this issue removes that stopgap. Useful beyond the harness: any agent operating a TV client needs it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions