You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Long: "Create a new collector by providing a name and YAML configuration",
15
+
}
16
+
17
+
parent.AddCommand(cmd)
18
+
19
+
cmd.Flags().StringVar(&r.args.createCollectorYaml, "yaml", "", "The YAML config for this collector. Use '-' to read from stdin. Cannot be used with the `yaml-file` falg.")
20
+
cmd.Flags().StringVar(&r.args.createCollectorYamlFile, "yaml-file", "", "The file name with YAML config for this collector. Cannot be used with the `yaml` flag.")
21
+
cmd.Flags().StringVar(&r.args.createCollectorName, "name", "", "The name for this collector")
Short: "Update a collector's name or yaml config",
15
+
Long: "Update a collector's name or yaml config",
16
+
}
17
+
18
+
parent.AddCommand(cmd)
19
+
20
+
cmd.Flags().StringVar(&r.args.updateCollectorYaml, "yaml", "", "The new YAML config for this collector. Use '-' to read from stdin. Cannot be used with the `yaml-file` flag.")
21
+
cmd.Flags().StringVar(&r.args.updateCollectorYamlFile, "yaml-file", "", "The file name with YAML config for this collector. Cannot be used with the `yaml` flag.")
22
+
cmd.Flags().StringVar(&r.args.updateCollectorName, "name", "", "The name for this collector")
0 commit comments