CLI Commands
Complete reference for all available commands.
Global Flags
--help, -h Show help
--version, -v Show version
--config Config file path
--debug Enable debug outputAuthentication
login
Authenticate with your Cmdop account.
cmdop login [flags]Flags:
--token- Use API token instead of OAuth
logout
Sign out and remove credentials.
cmdop logoutMachine Management
connect
Connect this machine to your account.
cmdop connect [flags]Flags:
--name- Custom machine name--tags- Comma-separated tags
disconnect
Disconnect this machine.
cmdop disconnectlist
List all connected machines.
cmdop list [flags]Flags:
--json- Output as JSON--status- Filter by status
Remote Execution
exec
Execute a command on a remote machine.
cmdop exec <machine> <command> [flags]Example:
cmdop exec my-server "ls -la /var/log"ssh
Start an interactive SSH session.
cmdop ssh <machine>AI Assistant
chat
Start interactive AI chat.
cmdop chat [flags]Flags:
--model- AI model to use--machine- Target machine for commands
Agent
agent start
Start the background agent.
cmdop agent start [flags]Flags:
--foreground- Run in foreground
agent stop
Stop the background agent.
cmdop agent stopagent restart
Restart the agent.
cmdop agent restartagent status
Show agent status.
cmdop agent statusBrowser Automation
browser start
Start browser automation session.
cmdop browser start [flags]Flags:
--headless- Run without UI--profile- Browser profile to use
browser stop
Stop browser automation.
cmdop browser stop