mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat(cli): pause notifications (#13873)
This commit is contained in:
@@ -30,6 +30,7 @@ Coder — A tool for provisioning self-hosted development environments with Terr
|
||||
| [<code>login</code>](./cli/login.md) | Authenticate with Coder deployment |
|
||||
| [<code>logout</code>](./cli/logout.md) | Unauthenticate your local session |
|
||||
| [<code>netcheck</code>](./cli/netcheck.md) | Print network debug information for DERP and STUN |
|
||||
| [<code>notifications</code>](./cli/notifications.md) | Manage Coder notifications |
|
||||
| [<code>port-forward</code>](./cli/port-forward.md) | Forward ports from a workspace to the local machine. For reverse port forwarding, use "coder ssh -R". |
|
||||
| [<code>publickey</code>](./cli/publickey.md) | Output your Coder public key used for Git operations |
|
||||
| [<code>reset-password</code>](./cli/reset-password.md) | Directly connect to the database to reset a user's password |
|
||||
|
||||
Generated
+37
@@ -0,0 +1,37 @@
|
||||
<!-- DO NOT EDIT | GENERATED CONTENT -->
|
||||
|
||||
# notifications
|
||||
|
||||
Manage Coder notifications
|
||||
|
||||
Aliases:
|
||||
|
||||
- notification
|
||||
|
||||
## Usage
|
||||
|
||||
```console
|
||||
coder notifications
|
||||
```
|
||||
|
||||
## Description
|
||||
|
||||
```console
|
||||
Administrators can use these commands to change notification settings.
|
||||
- Pause Coder notifications. Administrators can temporarily stop notifiers from
|
||||
dispatching messages in case of the target outage (for example: unavailable SMTP
|
||||
server or Webhook not responding).:
|
||||
|
||||
$ coder notifications pause
|
||||
|
||||
- Resume Coder notifications:
|
||||
|
||||
$ coder notifications resume
|
||||
```
|
||||
|
||||
## Subcommands
|
||||
|
||||
| Name | Purpose |
|
||||
| ------------------------------------------------ | -------------------- |
|
||||
| [<code>pause</code>](./notifications_pause.md) | Pause notifications |
|
||||
| [<code>resume</code>](./notifications_resume.md) | Resume notifications |
|
||||
Generated
+11
@@ -0,0 +1,11 @@
|
||||
<!-- DO NOT EDIT | GENERATED CONTENT -->
|
||||
|
||||
# notifications pause
|
||||
|
||||
Pause notifications
|
||||
|
||||
## Usage
|
||||
|
||||
```console
|
||||
coder notifications pause
|
||||
```
|
||||
Generated
+11
@@ -0,0 +1,11 @@
|
||||
<!-- DO NOT EDIT | GENERATED CONTENT -->
|
||||
|
||||
# notifications resume
|
||||
|
||||
Resume notifications
|
||||
|
||||
## Usage
|
||||
|
||||
```console
|
||||
coder notifications resume
|
||||
```
|
||||
@@ -755,6 +755,21 @@
|
||||
"description": "Print network debug information for DERP and STUN",
|
||||
"path": "cli/netcheck.md"
|
||||
},
|
||||
{
|
||||
"title": "notifications",
|
||||
"description": "Manage Coder notifications",
|
||||
"path": "cli/notifications.md"
|
||||
},
|
||||
{
|
||||
"title": "notifications pause",
|
||||
"description": "Pause notifications",
|
||||
"path": "cli/notifications_pause.md"
|
||||
},
|
||||
{
|
||||
"title": "notifications resume",
|
||||
"description": "Resume notifications",
|
||||
"path": "cli/notifications_resume.md"
|
||||
},
|
||||
{
|
||||
"title": "open",
|
||||
"description": "Open a workspace",
|
||||
|
||||
Reference in New Issue
Block a user