mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
This change will improve over CLI performance and "snappiness" as well as substantially reduce our test times. Preliminary benchmarks show `coder server --help` times cut from 300ms to 120ms on my dogfood instance. The inefficiency of lipgloss disproportionately impacts our system, as all help text for every command is generated whenever any command is invoked. The `pretty` API could clean up a lot of the code (e.g., by replacing complex string concatenations with Printf), but this commit is too expansive as is so that work will be done in a follow up.
34 lines
623 B
Markdown
Generated
34 lines
623 B
Markdown
Generated
<!-- DO NOT EDIT | GENERATED CONTENT -->
|
|
|
|
# users suspend
|
|
|
|
Update a user's status to 'suspended'. A suspended user cannot log into the platform
|
|
|
|
Aliases:
|
|
|
|
- rm
|
|
- delete
|
|
|
|
## Usage
|
|
|
|
```console
|
|
coder users suspend [flags] <username|user_id>
|
|
```
|
|
|
|
## Description
|
|
|
|
```console
|
|
$ coder users suspend example_user
|
|
```
|
|
|
|
## Options
|
|
|
|
### -c, --column
|
|
|
|
| | |
|
|
| ------- | --------------------------------------------- |
|
|
| Type | <code>string-array</code> |
|
|
| Default | <code>username,email,created_at,status</code> |
|
|
|
|
Specify a column to filter in the table.
|