gitlab-ctl should support Praefect subcommands
Praefect has many subcommands: sql-migrate-down, sql-migrate-status, dataloss, accept-dataloss, sql-ping, sql-migrate, dial-nodes, reconcile
. Right now in order to run on of these subcommands you'd need to run the full command like this sudo -u git /opt/gitlab/embedded/bin/praefect -config /var/opt/gitlab/praefect/config.toml dataloss
.
It would be nice to have a gitlab-ctl praefect <subcommand>
shortcut to avoid writing such length command.