Skip to content

cropscode config

Terminal window
cropscode config <subcommand> [arguments]

Set a configuration value:

Terminal window
cropscode config set WORKER_NAME my-dev-machine

Read a configuration value:

Terminal window
cropscode config get WORKER_NAME

Show all configuration values:

Terminal window
cropscode config list

Remove all local CropsCode config (credentials, worker registration, and settings). Prompts for confirmation before deleting:

Terminal window
cropscode config clear

After clearing, run cropscode login to set up again.

KeyDescription
WORKER_NAMEDisplay name for this worker (max 64 characters)

Only the keys listed above are accepted. Attempting to set an unknown key returns an error.

Location: ~/.cropscode/config.json

{
"WORKER_NAME": "my-dev-machine"
}
Getting Started Concepts Guides CLI Self-Hosting Reference Links