mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore(cli): replace clibase with external coder/serpent (#12252)
This commit is contained in:
Generated
+26
-26
@@ -12,24 +12,6 @@ coder server create-admin-user [flags]
|
||||
|
||||
## Options
|
||||
|
||||
### --email
|
||||
|
||||
| | |
|
||||
| ----------- | ------------------------- |
|
||||
| Type | <code>string</code> |
|
||||
| Environment | <code>$CODER_EMAIL</code> |
|
||||
|
||||
The email of the new user. If not specified, you will be prompted via stdin.
|
||||
|
||||
### --password
|
||||
|
||||
| | |
|
||||
| ----------- | ---------------------------- |
|
||||
| Type | <code>string</code> |
|
||||
| Environment | <code>$CODER_PASSWORD</code> |
|
||||
|
||||
The password of the new user. If not specified, you will be prompted via stdin.
|
||||
|
||||
### --postgres-url
|
||||
|
||||
| | |
|
||||
@@ -39,14 +21,6 @@ The password of the new user. If not specified, you will be prompted via stdin.
|
||||
|
||||
URL of a PostgreSQL database. If empty, the built-in PostgreSQL deployment will be used (Coder must not be already running in this case).
|
||||
|
||||
### --raw-url
|
||||
|
||||
| | |
|
||||
| ---- | ----------------- |
|
||||
| Type | <code>bool</code> |
|
||||
|
||||
Output the raw connection URL instead of a psql command.
|
||||
|
||||
### --ssh-keygen-algorithm
|
||||
|
||||
| | |
|
||||
@@ -65,3 +39,29 @@ The algorithm to use for generating ssh keys. Accepted values are "ed25519", "ec
|
||||
| Environment | <code>$CODER_USERNAME</code> |
|
||||
|
||||
The username of the new user. If not specified, you will be prompted via stdin.
|
||||
|
||||
### --email
|
||||
|
||||
| | |
|
||||
| ----------- | ------------------------- |
|
||||
| Type | <code>string</code> |
|
||||
| Environment | <code>$CODER_EMAIL</code> |
|
||||
|
||||
The email of the new user. If not specified, you will be prompted via stdin.
|
||||
|
||||
### --password
|
||||
|
||||
| | |
|
||||
| ----------- | ---------------------------- |
|
||||
| Type | <code>string</code> |
|
||||
| Environment | <code>$CODER_PASSWORD</code> |
|
||||
|
||||
The password of the new user. If not specified, you will be prompted via stdin.
|
||||
|
||||
### --raw-url
|
||||
|
||||
| | |
|
||||
| ---- | ----------------- |
|
||||
| Type | <code>bool</code> |
|
||||
|
||||
Output the raw connection URL instead of a psql command.
|
||||
|
||||
Reference in New Issue
Block a user