pull / sync
Pull from control plane to YAML. Apply YAML to control plane.
flagctl keeps the YAML in your repo and the state in the control plane in sync. Two commands cover the round trip.
pull
flagctl pull
Writes the current control-plane state into flags/*.yaml. Use this to seed a fresh repo, or to reconcile drift after someone changed a flag through the dashboard.
apply
flagctl apply flagctl apply --dry-run # show the diff, don't push
Reads flags/*.yaml and pushes any diffs to the control plane. Records one audit entry per applied diff.