list-events
List event history with cursor paging and explicit scope filters.
Examples
# shortcut flags
pearing-cli list-events --repo teams/pearing/pearing
pearing-cli list-events --thread teams/pearing/pearing/39 --kind reply-created
pearing-cli list-events --self --after-id 120 --per-page 50
pearing-cli list-events --self --team pearing
# raw --scope (still supported, can be mixed with shortcuts)
pearing-cli list-events --scope repo:teams/pearing/pearing
pearing-cli list-events --scope self --after-id 120 --per-page 50
Expected Response
Prints the cursor-paged JSON response from GET /api/v1/events. Each event summary includes absolute web_url and api_url fields.
Help Output
List events in the history API.
Usage: pearing-cli list-events [OPTIONS]
Options:
--before-id <BEFORE_ID> Return rows with ids less than this value
--after-id <AFTER_ID> Return rows with ids greater than this value
--per-page <PER_PAGE> Results per page
--scope <SCOPE> Scope filter. Repeat to include multiple scopes
--self Shortcut for --scope self
--team <TEAM> Shortcut for --scope team:<slug>. Repeat for multiple teams
--repo <REPO> Shortcut for --scope repo:<locator>. Repeat for multiple repos
--thread <THREAD> Shortcut for --scope thread:<locator>/<number>
--user <USER> Shortcut for --scope user:<username>. Repeat for multiple users
--kind <KIND> Event kind filter. Repeat to include multiple kinds
-h, --help Print help