aboutsummaryrefslogtreecommitdiff
path: root/cmd/tsch.go
diff options
context:
space:
mode:
authorBryan McNulty <bryanmcnulty@protonmail.com>2025-04-18 04:07:54 -0500
committerBryan McNulty <bryanmcnulty@protonmail.com>2025-04-18 04:07:54 -0500
commite16fcfc6ce0bdffdac4a73b5922a792972348a80 (patch)
tree0c8f01493e18395306eb414d2889847f55894fd2 /cmd/tsch.go
parent5d2734e51b62f7048dc8be25cca05fb71da4f521 (diff)
downloadgoexec-e16fcfc6ce0bdffdac4a73b5922a792972348a80.tar.gz
goexec-e16fcfc6ce0bdffdac4a73b5922a792972348a80.zip
Some CLI tweaks
Diffstat (limited to 'cmd/tsch.go')
-rw-r--r--cmd/tsch.go11
1 files changed, 6 insertions, 5 deletions
diff --git a/cmd/tsch.go b/cmd/tsch.go
index a647f06..0ed5d9f 100644
--- a/cmd/tsch.go
+++ b/cmd/tsch.go
@@ -64,9 +64,10 @@ var (
tschTask string
tschCmd = &cobra.Command{
- Use: "tsch",
- Short: "Establish execution via Windows Task Scheduler (MS-TSCH)",
- Args: cobra.NoArgs,
+ Use: "tsch",
+ Short: "Execute with Windows Task Scheduler (MS-TSCH)",
+ GroupID: "module",
+ Args: cobra.NoArgs,
}
tschDemandCmd = &cobra.Command{
@@ -78,8 +79,8 @@ var (
additionally call SchRpcRun to forcefully start the task.
References:
- SchRpcRegisterTask - https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-tsch/849c131a-64e4-46ef-b015-9d4c599c5167
- SchRpcRun - https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-tsch/77f2250d-500a-40ee-be18-c82f7079c4f0
+ - https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-tsch/849c131a-64e4-46ef-b015-9d4c599c5167
+ - https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-tsch/77f2250d-500a-40ee-be18-c82f7079c4f0
`,
Args: args(
argsRpcClient("cifs"),