Skip to content

Consume agent token from AGENTK_TOKEN environment variable

Taka Nishida requested to merge consume-agent-token-from-env-var into master

Closes #277 (closed).

This MR enables the agent token to be set from AGENTK_TOKEN environment variable.

Implementation: (Same as the proposal in the issue)

  1. Support consuming agent token from AGENTK_TOKEN environment variable if the command line flag is not set.
  2. Produce an error and exit with non-zero code if both command line flag and the variable are set.
  3. Unset the environment variable once copied the value from it.

Merge request reports

Loading