Commit Graph

5 Commits

Author SHA1 Message Date
22132919e5 feat: add optional variadic args to all commands (#8)
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 11:03:53 -05:00
0075dc6b4d update to fix some tests, remove panics, and wrap errors 2023-06-17 23:18:28 -04:00
5da4924315 gofumpt against remaining go files 2022-10-23 23:28:19 -07:00
125e4771dd cleans up comments, adds short testing options to more tests 2021-05-16 23:19:59 -07:00
e941c90f0d Migrates many tests to errors_test 2021-05-16 22:00:50 -07:00