Skip to content

Commit

Permalink
Add tracking for install commands (#235)
Browse files Browse the repository at this point in the history
Adds the tracked wrapper to both bundle install and stack install commands for some telemetry
  • Loading branch information
michaeljguarino authored Oct 5, 2022
1 parent a768ce9 commit b6b7c13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/plural/bundle.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func (p *Plural) bundleCommands() []cli.Command {
Usage: "re-enter the configuration for this bundle",
},
},
Action: rooted(requireArgs(p.bundleInstall, []string{"repo", "bundle-name"})),
Action: tracked(rooted(requireArgs(p.bundleInstall, []string{"repo", "bundle-name"})), "bundle.install"),
},
}
}
Expand All @@ -47,7 +47,7 @@ func (p *Plural) stackCommands() []cli.Command {
Usage: "re-enter the configuration for all bundles",
},
},
Action: rooted(requireArgs(p.stackInstall, []string{"stack-name"})),
Action: tracked(rooted(requireArgs(p.stackInstall, []string{"stack-name"})), "stack.install"),
},
{
Name: "list",
Expand Down

0 comments on commit b6b7c13

Please sign in to comment.