feat(cli): colorize help page (#9589)

This commit is contained in:
Ammar Bandukwala
2023-09-08 13:21:33 -05:00
committed by GitHub
parent 11404af9ca
commit e361f1107b
86 changed files with 1224 additions and 920 deletions

View File

@ -1,32 +1,35 @@
Usage: coder server create-admin-user [flags]
coder v0.0.0-devel
Create a new admin user with the given username, email and password and adds it
to every organization.
USAGE:
coder server create-admin-user [flags]
Options
--email string, $CODER_EMAIL
Create a new admin user with the given username, email and password and adds
it to every organization.
OPTIONS:
--email string, $CODER_EMAIL
The email of the new user. If not specified, you will be prompted via
stdin.
--password string, $CODER_PASSWORD
--password string, $CODER_PASSWORD
The password of the new user. If not specified, you will be prompted
via stdin.
--postgres-url string, $CODER_PG_CONNECTION_URL
--postgres-url string, $CODER_PG_CONNECTION_URL
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
--raw-url bool
Output the raw connection URL instead of a psql command.
--ssh-keygen-algorithm string, $CODER_SSH_KEYGEN_ALGORITHM (default: ed25519)
--ssh-keygen-algorithm string, $CODER_SSH_KEYGEN_ALGORITHM (default: ed25519)
The algorithm to use for generating ssh keys. Accepted values are
"ed25519", "ecdsa", or "rsa4096".
--username string, $CODER_USERNAME
--username string, $CODER_USERNAME
The username of the new user. If not specified, you will be prompted
via stdin.
---
———
Run `coder --help` for a list of global options.