`coder users suspend` and `coder users activate` always prompt but, unlike other commands with a confirmation prompt, had no `-y/--yes`. Both now accept `-y`. The suspend help also says that suspending stops the user's running workspaces and that activating doesn't restart them. **Behavior change:** Additive. New `-y` flag; without it, both commands prompt as before. <details> <summary>Decisions</summary> - The workspace note is based on the lifecycle executor, which auto-stops a suspended user's running workspaces; activation doesn't restart them. </details> Closes [CLI-23](https://linear.app/codercom/issue/CLI-23) _This PR was generated by Coder Agents on behalf of @nickvigilante._
27 lines
927 B
Plaintext
27 lines
927 B
Plaintext
coder v0.0.0-devel
|
|
|
|
USAGE:
|
|
coder users [subcommand]
|
|
|
|
Manage users
|
|
|
|
Aliases: user
|
|
|
|
SUBCOMMANDS:
|
|
activate Update a user's status to 'active'. Active users can fully
|
|
interact with the platform
|
|
create Create a new user.
|
|
delete Delete a user by username or user_id.
|
|
edit-roles Edit a user's roles by username or id
|
|
list Prints the list of users.
|
|
oidc-claims Display the OIDC claims for the authenticated user.
|
|
show Show a single user. Use 'me' to indicate the currently
|
|
authenticated user.
|
|
suspend Update a user's status to 'suspended'. A suspended user
|
|
cannot log into the platform. Suspending a user stops their
|
|
running workspaces; activating the user again does not
|
|
restart them.
|
|
|
|
———
|
|
Run `coder --help` for a list of global options.
|