🎉 Cmdop v1.0 is here! Download now →
Skip to Content
DocsCLICommands

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 output

Authentication

login

Authenticate with your Cmdop account.

cmdop login [flags]

Flags:

  • --token - Use API token instead of OAuth

logout

Sign out and remove credentials.

cmdop logout

Machine 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 disconnect

list

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 stop

agent restart

Restart the agent.

cmdop agent restart

agent status

Show agent status.

cmdop agent status

Browser 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

CLI Commands | Cmdop