clustercode config
clustercode config <subcommand> [arguments]Subcommands
Section titled “Subcommands”Set a configuration value:
clustercode config set WORKER_NAME my-dev-machineRead a configuration value:
clustercode config get WORKER_NAMEShow all configuration values:
clustercode config listRemove all local ClusterCode config (credentials, worker registration, and settings). Prompts for confirmation before deleting:
clustercode config clearAfter clearing, run clustercode login to set up again.
Allowed Keys
Section titled “Allowed Keys”| Key | Description |
|---|---|
WORKER_NAME | Display name for this worker (max 64 characters) |
Only the keys listed above are accepted. Attempting to set an unknown key returns an error.
Configuration File
Section titled “Configuration File”Location: ~/.clustercode/config.json
{ "WORKER_NAME": "my-dev-machine"}