cmdop mode
cmdop modeWith no argument, cmdop mode prints the current deployment mode. That form is
read-only and safe to run at any time.
Changing the mode restarts the agent so it picks up the new settings. In
automation, or on a machine where the agent must not be interrupted, pass
--no-restart to write the change without restarting:
cmdop mode toggle --no-restartThe change then takes effect the next time the agent starts.
cmdop mode toggletoggle flips between the two modes. Mode is an operational CLI setting — do
not infer distinct token files, endpoint names, or inline overrides from it.
When mode matters
Mode is a local deployment choice for the machine running the CLI. It is useful when you are switching between the packaged default behavior and an alternate installation layout during development or support. It is not a per-command flag, and it does not change which relay a machine has joined.
Use cmdop status after a mode change to confirm the agent restarted and
connected again. If the machine is remote or serving work, schedule the restart
window deliberately.