mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-05 15:32:53 +00:00
systemctl: added soft-reboot command (#2716)
This commit is contained in:
parent
b2ff49884d
commit
680d1ecd1d
19
completers/systemctl_completer/cmd/softReboot.go
Normal file
19
completers/systemctl_completer/cmd/softReboot.go
Normal file
@ -0,0 +1,19 @@
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"github.com/carapace-sh/carapace"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
var softRebootCmd = &cobra.Command{
|
||||
Use: "soft-reboot",
|
||||
Short: "Shut down and reboot userspace",
|
||||
GroupID: "system",
|
||||
Run: func(cmd *cobra.Command, args []string) {},
|
||||
}
|
||||
|
||||
func init() {
|
||||
carapace.Gen(softRebootCmd).Standalone()
|
||||
|
||||
rootCmd.AddCommand(softRebootCmd)
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user