Skip to content

Commit

Permalink
Exported the localmachine Cobra command item
Browse files Browse the repository at this point in the history
  • Loading branch information
lkarlslund committed Dec 3, 2024
1 parent b02e80f commit 0274333
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/integrations/localmachine/collect/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ import (
)

var (
cmd = &cobra.Command{
Cmd = &cobra.Command{
Use: "localmachine",
Short: "Gathers local information about a machine in the network (deploy with a sch.task via GPO for efficiency)",
RunE: Execute,
}
)

func init() {
clicollect.Collect.AddCommand(cmd)
clicollect.Collect.AddCommand(Cmd)
}

func Execute(cmd *cobra.Command, args []string) error {
Expand Down

0 comments on commit 0274333

Please sign in to comment.