chainabit notifications watch
Published (2.2.0)
This command is not included in Published (2.2.0). It is available in Development (2.2.0).
Development (2.2.0)
Check the inbox every five seconds
Synopsis
text
chainabit notifications watch [options]Options
| Option | Description | Default |
|---|---|---|
--count <n> | Number of checks (1–100) | "12" |
--timeout <seconds> | Time limit in seconds (1–600) | "60" |
--unread | Only unread notifications | — |
Options shared by every command are described in Global options and shared behavior.
Behavior
Reads your inbox repeatedly, every five seconds, and prints each check. The command only reads; it never marks a notification as read.
--countsets the number of checks (1 to 100, default 12).--timeoutsets a time limit in seconds (1 to 600, default 60). When the limit is reached after at least one check, the command ends normally.--unreadshows only unread notifications.
Each check reads up to 20 notifications.
Output
Each check prints a table with the columns ID, Title and Status. With --json nothing is printed until the command ends; the output then has polls, a list with one entry per check, each with data and meta.
Authentication and permissions
You must be signed in.
Examples
bash
chainabit notifications watch
chainabit notifications watch --count 3 --unread
chainabit notifications watch --timeout 30 --json