Skip to content
WIP

This guide is a work in progress. Barry is also a work in progress.

<identity> events

Manage barry events.

<identity> events [options] [command]
Subcommand Description
list List recent events.
read Mark event(s) as read (all if no ID given)
count Show unread event count.
emit Create an event.

List recent events.

<identity> events list [options]

Alias: <identity> events ls.

Option Description
--type <type> Filter by event type (progress, notification, task_finished, system_alert)
--session <id> Filter by session ID.
--unread Show only unread events.
--limit <n> Number of events to show. Default 20.
--json Output as JSON.

Mark event(s) as read (all if no ID given)

<identity> events read [options] [id]
Argument Required
id Optional

Show unread event count.

<identity> events count [options]

Create an event.

<identity> events emit [options] <title>
Argument Required
title Required
Option Description
--type <type> Event type. Default notification.
--severity <level> Severity: info, warn, error, success. Default info.
--session <id> Associate with a session.
--body <text> Event body text.
--metadata <json> JSON metadata object.

Every command also accepts -h, --help. All identity commands.