Files
coder/cli/testdata/coder_server_create-admin-user_--help.golden
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
1.3 KiB
Plaintext
Raw Normal View History

2023-09-08 13:21:33 -05:00
coder v0.0.0-devel
2023-03-23 17:42:20 -05:00
USAGE:
2023-09-08 13:21:33 -05:00
coder server create-admin-user [flags]
2023-03-23 17:42:20 -05:00
2023-09-08 13:21:33 -05:00
Create a new admin user with the given username, email and password and adds
it to every organization.
OPTIONS:
2024-03-20 13:14:43 -04:00
--postgres-connection-auth password|awsiamrds, $CODER_PG_CONNECTION_AUTH (default: password)
Type of auth to use when connecting to postgres.
--email string, $CODER_EMAIL
2023-03-23 17:42:20 -05:00
The email of the new user. If not specified, you will be prompted via
stdin.
--password string, $CODER_PASSWORD
2023-03-23 17:42:20 -05:00
The password of the new user. If not specified, you will be prompted
via stdin.
--postgres-url string, $CODER_PG_CONNECTION_URL
2023-03-23 17:42:20 -05:00
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 bool
2023-03-23 17:42:20 -05:00
Output the raw connection URL instead of a psql command.
--ssh-keygen-algorithm string, $CODER_SSH_KEYGEN_ALGORITHM (default: ed25519)
2023-03-23 17:42:20 -05:00
The algorithm to use for generating ssh keys. Accepted values are
"ed25519", "ecdsa", or "rsa4096".
--username string, $CODER_USERNAME
2023-03-23 17:42:20 -05:00
The username of the new user. If not specified, you will be prompted
via stdin.
2023-09-08 13:21:33 -05:00
———
2023-03-23 17:42:20 -05:00
Run `coder --help` for a list of global options.