mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
feat(agent): Allow specifying log directory via flag or env (#5915)
This commit is contained in:
committed by
GitHub
parent
fa5b6125a9
commit
f4d6afb01d
+29
@@ -0,0 +1,29 @@
|
||||
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")
|
||||
|
||||
Global Flags:
|
||||
--global-config coder Path to the global coder config directory.
|
||||
Consumes $CODER_CONFIG_DIR (default "/tmp/coder-cli-test-config")
|
||||
--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
|
||||
Reference in New Issue
Block a user