// zygctl.reef — Administrative CLI for zyginit // // Communicates with the running zyginit daemon over Unix domain socket // at /var/run/zyginit.sock. // // Usage: // zygctl status # list all services // zygctl status # status of one service // zygctl start # start a service (transient) // zygctl stop # stop a service // zygctl restart # restart a service // zygctl enable # enable at boot (creates symlink) // zygctl disable # disable at boot (removes symlink) // zygctl list # list all service definitions const SOCKET_PATH: &str = "/var/run/zyginit.sock"; fn main() -> i32 { // TODO: implement // 1. Parse command-line arguments // 2. Connect to Unix domain socket // 3. Send command // 4. Read and display response // 5. For enable/disable: also manage symlinks in enabled.d/ 0 }