cropscode config
cropscode config <subcommand> [arguments]Subcommands
Section titled “Subcommands”Set a configuration value:
cropscode config set WORKER_NAME my-dev-machineRead a configuration value:
cropscode config get WORKER_NAMEShow all configuration values:
cropscode config listRemove all local CropsCode config (credentials, worker registration, and settings). Prompts for confirmation before deleting:
cropscode config clearAfter clearing, run cropscode 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: ~/.cropscode/config.json
{ "WORKER_NAME": "my-dev-machine"}