Skip to content

feat(cli): pause notifications #13873

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Jul 11, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
golden
  • Loading branch information
mtojek committed Jul 11, 2024
commit 85179b36e776b4d0f341437fc8ea91a84f6c9a51
1 change: 1 addition & 0 deletions cli/testdata/coder_--help.golden
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ SUBCOMMANDS:
login Authenticate with Coder deployment
logout Unauthenticate your local session
netcheck Print network debug information for DERP and STUN
notifications Manage Coder notifications
open Open a workspace
ping Ping a workspace
port-forward Forward ports from a workspace to the local machine. For
Expand Down
24 changes: 24 additions & 0 deletions cli/testdata/coder_notifications_--help.golden
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
coder v0.0.0-devel

USAGE:
coder notifications

Manage Coder notifications

Aliases: notification

Administrators can use these commands to change notification settings.
- Pause Coder notifications:

$ coder notifications pause

- Unpause Coder notifications:

$ coder notifications unpause

SUBCOMMANDS:
pause Pause notifications
unpause Unpause notifications

———
Run `coder --help` for a list of global options.
9 changes: 9 additions & 0 deletions cli/testdata/coder_notifications_pause_--help.golden
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
coder v0.0.0-devel

USAGE:
coder notifications pause

Pause notifications

———
Run `coder --help` for a list of global options.
9 changes: 9 additions & 0 deletions cli/testdata/coder_notifications_unpause_--help.golden
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
coder v0.0.0-devel

USAGE:
coder notifications unpause

Unpause notifications

———
Run `coder --help` for a list of global options.
Loading