add ability to list all units

This commit is contained in:
Tai Groot
2024-08-08 15:37:04 -07:00
parent 7bd5bef0cb
commit fa15432121
3 changed files with 84 additions and 0 deletions

View File

@@ -3,3 +3,11 @@ package systemctl
type Options struct {
UserMode bool
}
type Unit struct {
Name string
Load string
Active string
Sub string
Description string
}