Skip to content

CLI reference

foureyesctl is the GitOps CLI. It ships as a pre-built binary — install it the same way as the server and node:

Terminal window
curl -fsSL https://foureyes.space/install.sh \
| sh -s -- --component cli

Resources are name-keyed (reconcile matches on name, not id), so the same bundle applies cleanly across environments. See GitOps for a walkthrough.

CommandDoes
foureyesctl exportDump the live server’s config as YAML.
foureyesctl diff -f <file|dir>Show how your declared YAML diverges from live state.
foureyesctl apply -f <file|dir>Reconcile declared YAML into the server.

Global flags: --server, --ca-cert, --insecure (dev), --token.