Files
systemctl/systemctl_linux.go
Tai Groot f55bf3005f feat: add optional variadic args to all commands
Allow callers to pass additional systemctl flags (e.g. --no-block,
--force) via variadic string args on every exported function.

This is backward-compatible: existing callers without extra args
continue to work unchanged.

Introduces a prepareArgs helper to centralize argument construction,
replacing the duplicated args/UserMode pattern across all functions.

Closes #2
2026-02-26 15:58:19 +00:00

4.1 KiB