mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
+20
-29
@@ -1,31 +1,22 @@
|
||||
Usage:
|
||||
coder agent [flags]
|
||||
Usage: coder agent [flags]
|
||||
|
||||
Flags:
|
||||
--auth string Specify the authentication type to use for the agent.
|
||||
Consumes $CODER_AGENT_AUTH (default "token")
|
||||
-h, --help help for agent
|
||||
--log-dir string Specify the location for the agent log files.
|
||||
Consumes $CODER_AGENT_LOG_DIR (default "/tmp")
|
||||
--no-reap Do not start a process reaper.
|
||||
--pprof-address string The address to serve pprof.
|
||||
Consumes $CODER_AGENT_PPROF_ADDRESS (default "127.0.0.1:6060")
|
||||
--ssh-max-timeout duration Specify the max timeout for a SSH connection.
|
||||
Consumes $CODER_AGENT_SSH_MAX_TIMEOUT
|
||||
Starts the Coder workspace agent.
|
||||
|
||||
Global Flags:
|
||||
--global-config coder Path to the global coder config directory.
|
||||
Consumes $CODER_CONFIG_DIR (default "~/.config/coderv2")
|
||||
--header stringArray HTTP headers added to all requests. Provide as "Key=Value".
|
||||
Consumes $CODER_HEADER
|
||||
--no-feature-warning Suppress warnings about unlicensed features.
|
||||
Consumes $CODER_NO_FEATURE_WARNING
|
||||
--no-version-warning Suppress warning when client and server versions do not match.
|
||||
Consumes $CODER_NO_VERSION_WARNING
|
||||
--token string Specify an authentication token. For security reasons setting
|
||||
CODER_SESSION_TOKEN is preferred.
|
||||
Consumes $CODER_SESSION_TOKEN
|
||||
--url string URL to a deployment.
|
||||
Consumes $CODER_URL
|
||||
-v, --verbose Enable verbose output.
|
||||
Consumes $CODER_VERBOSE
|
||||
[1mOptions[0m
|
||||
--auth string, $CODER_AGENT_AUTH (default: token)
|
||||
Specify the authentication type to use for the agent.
|
||||
|
||||
--log-dir string, $CODER_AGENT_LOG_DIR (default: /tmp)
|
||||
Specify the location for the agent log files.
|
||||
|
||||
--no-reap bool
|
||||
Do not start a process reaper.
|
||||
|
||||
--pprof-address string, $CODER_AGENT_PPROF_ADDRESS (default: 127.0.0.1:6060)
|
||||
The address to serve pprof.
|
||||
|
||||
--ssh-max-timeout duration, $CODER_AGENT_SSH_MAX_TIMEOUT (default: 0)
|
||||
Specify the max timeout for a SSH connection.
|
||||
|
||||
---
|
||||
Run `coder --help` for a list of global options.
|
||||
|
||||
Reference in New Issue
Block a user