mirror of
https://github.com/coder/coder.git
synced 2026-06-03 13:08:25 +00:00
69c2c40512
- Adds FK from `aibridge_interceptions.initiator_id` to `users.id`
- This is enforced by deleting any rows that don't have any users. Since
this is an experimental feature AND coder never deletes user rows I
think this is acceptable.
- Adds `name` as a property on `codersdk.MinimalUser`
- This matches the `visible_users` view in the database. I'm unsure why
`name` wasn't already included given that `username` is.
- Adds a new `initiator` field to `codersdk.AIBridgeInterception` which
contains `codersdk.MinimalUser` (ID, username, name, avatar URL)
- Removes `initiator_id` from `codersdk.AIBridgeInterception`
- Should be fine since we're still in early access
43 lines
901 B
Markdown
Generated
43 lines
901 B
Markdown
Generated
<!-- DO NOT EDIT | GENERATED CONTENT -->
|
|
# users list
|
|
|
|
Prints the list of users.
|
|
|
|
Aliases:
|
|
|
|
* ls
|
|
|
|
## Usage
|
|
|
|
```console
|
|
coder users list [flags]
|
|
```
|
|
|
|
## Options
|
|
|
|
### --github-user-id
|
|
|
|
| | |
|
|
|------|------------------|
|
|
| Type | <code>int</code> |
|
|
|
|
Filter users by their GitHub user ID.
|
|
|
|
### -c, --column
|
|
|
|
| | |
|
|
|---------|--------------------------------------------------------------------------|
|
|
| Type | <code>[id\|username\|name\|email\|created at\|updated at\|status]</code> |
|
|
| Default | <code>username,email,created at,status</code> |
|
|
|
|
Columns to display in table output.
|
|
|
|
### -o, --output
|
|
|
|
| | |
|
|
|---------|--------------------------|
|
|
| Type | <code>table\|json</code> |
|
|
| Default | <code>table</code> |
|
|
|
|
Output format.
|