chainabit notifications read
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)
Mark the notification as read
Synopsis
text
chainabit notifications read <id> [options]Arguments
| Argument | Description | Default |
|---|---|---|
<id> | Required. | — |
Options
| Option | Description | Default |
|---|---|---|
--yes | Confirm this change | — |
Options shared by every command are described in Global options and shared behavior.
Behavior
Marks the notification with the given ID as read. Find the ID with chainabit notifications list.
- The command asks for confirmation first. Pass
--yesto skip the question. - Without a terminal, or with
--json, and without--yes, nothing is changed: the command printsNothing was changed. Add --yes to confirm.and exits with code 2. - If you decline the question, nothing is changed.
Output
The receipt shows the Status, which is read. With --json the output has status.
Authentication and permissions
You must be signed in. You can mark only your own notifications.
Examples
bash
chainabit notifications read 00000000-0000-4000-8000-000000000001
chainabit notifications read 00000000-0000-4000-8000-000000000001 --yes