Skip to main content

Command Reference

All Citadel CLI commands organized by category. Run citadel <command> --help for full flag documentation, or man citadel-<command> if man pages are installed.

Interactive Mode

Running citadel with no subcommand launches the interactive control center. This is the recommended way to use Citadel -- it handles login, network connection, service management, and job processing in a single unified TUI.

citadel

Setup and Provisioning

CommandDescriptionKey Flags
citadel initJoin the AceTeam Network and optionally provision the system--authkey, --provision, --service, --node-name, --verbose
citadel loginAuthenticate with the AceTeam Network interactively--nexus, --auth-service
citadel logoutDisconnect from the AceTeam Network and clear state

Operation

CommandDescriptionKey Flags
citadel workStart the worker (process jobs from the queue)--redis-url, --queue, --status-port, --terminal, --terminal-port
citadel run [service]Start services from the manifest (or a specific service)--restart
citadel stop [service]Stop running services (or a specific service)
citadel statusDisplay the node health dashboard
citadel logs <service>Stream logs from a service-f (follow)
citadel testRun diagnostic tests against a service--service

Networking

CommandDescriptionKey Flags
citadel nodesList all nodes on the AceTeam Network--nexus
citadel peersDiscover nodes and their capabilities
citadel call <node> <endpoint>Make an HTTP call to a peer node
citadel ping <node>Check if a peer node is reachable
citadel ssh <node>SSH into a peer node via the mesh network
citadel proxy <node>Proxy local traffic to a remote node
citadel exposeExpose local services to the fabric network

Update

CommandDescription
citadel update checkCheck if a new version is available
citadel update installDownload and install the latest version
citadel update statusShow current update state and version info
citadel update rollbackRoll back to the previous version
citadel update enableEnable automatic daily updates
citadel update disableDisable automatic updates

Service Management

CommandDescription
citadel service installInstall Citadel as a system service
citadel service uninstallRemove the system service
citadel service startStart the system service
citadel service stopStop the system service
citadel service statusCheck the system service status

Other

CommandDescriptionKey Flags
citadel versionPrint the CLI version
citadel terminal-serverStart a standalone WebSocket terminal server--port, --test

Global Flags

These flags are available on all commands:

FlagDescription
--helpShow help for any command
--nexus <url>Override the coordination server URL (default: https://nexus.aceteam.ai)
--auth-service <url>Override the auth service URL (default: https://aceteam.ai)