8000 feat: add edit-role within user command by brettkolodny · Pull Request #17341 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

feat: add edit-role within user command #17341

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
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
chore: make gen
  • Loading branch information
brettkolodny committed Apr 11, 2025
commit fc2ccf11ecb3d76d7cbe6e646b1bd8be38b928f0
2 changes: 1 addition & 1 deletion cli/testdata/coder_users_--help.golden
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ SUBCOMMANDS:
interact with the platform
create
delete Delete a user by username or user_id.
edit-roles Edit a member's roles
edit-roles Edit a user's roles by username or id
list
show Show a single user. Use 'me' to indicate the currently
authenticated user.
Expand Down
6 changes: 2 additions & 4 deletions cli/testdata/coder_users_edit-roles_--help.golden
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
coder v0.0.0-devel

USAGE:
coder users edit-roles <username | user_id> [roles...]
coder users edit-roles <username|user_id>

Edit a member's roles

Aliases: edit-role
Edit a user's roles by username or id

———
Run `coder --help` for a list of global options.
2 changes: 1 addition & 1 deletion docs/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -1594,7 +1594,7 @@
},
{
"title": "users edit-roles",
"description": "Edit a member's roles",
"description": "Edit a user's roles by username or id",
"path": "reference/cli/users_edit-roles.md"
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/cli/users.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 2 additions & 6 deletions docs/reference/cli/users_edit-roles.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0