CLI Reference
· 1min
village setup # Sign up/sign in and register this device
village register [name] # Register this device with optional name
village listen # Start listening for incoming commands
village send <command> # Send to an idle device (auto-route by default)
village send <command> --to <device_id> # Target a specific device
village status # Show your devices + status/last seen
village logout # Clear cached auth (keeps device_id)
village logout --reset # Clear auth and delete device_id file
village version | -v # Show installed CLI versionFlags:
village send --to <device_id>: target a specific device (defaults to auto-route)village send --no-wait: fire and forget
Environment:
TO_DEVICE_ID: set a target (autopicks an idle one)COMMAND: command string to run on the target
Notes:
- Device IDs stick to each machine unless you
--reset. sendwaits by default; add--no-waitto fire-and-forget.- Tokens refresh automatically; cached in
~/.village/auth.jsonor%APPDATA%\\village\\auth.json.