Skip to main content

pdsx.cli

general-purpose cli for atproto record operations.

Functions

describe_exception

render an exception for the user, never as an empty string. Several atproto SDK exceptions (InvokeTimeoutError among them) carry no message, so interpolating them produced a bare “error:” with nothing after it — a failure the user cannot act on or even name.

cmd_list

list records in a collection.

cmd_describe

describe a repo, listing its collections.

cmd_get

get a specific record.

cmd_create

create one or more records.

cmd_update

update one or more records.

cmd_delete

delete one or more records.

cmd_upload_blob

upload a blob (image, video, etc.).

cmd_whoami

show authenticated identity.

_print_unsupported

cmd_spaces_list

list permissioned spaces, degrading to an empty result if unsupported. Enumeration has a legitimate empty answer, so an unsupported PDS is reported explicitly and exits 0 rather than failing — but it always says why, so “none” is never silently indistinguishable from “can’t ask”.

cmd_space_records

list records in a permissioned space.

cmd_space_get

get one record from a permissioned space.

async_main

main entry point.

main

synchronous entry point.