()
| 25 | ) |
| 26 | |
| 27 | func main() { |
| 28 | root := cobra.Command{ |
| 29 | Short: "Reconcile an Helm operator project using helm", |
| 30 | Long: `This binary runs a Helm operator that reconciles Kubernetes resources |
| 31 | managed by the helm program. It can be run either directly or from a Helm operator |
| 32 | project's image entrypoint |
| 33 | `, |
| 34 | Use: "helm-operator", |
| 35 | } |
| 36 | |
| 37 | root.AddCommand(run.NewCmd()) |
| 38 | root.AddCommand(version.NewCmd()) |
| 39 | |
| 40 | if err := root.Execute(); err != nil { |
| 41 | log.Fatal(err) |
| 42 | } |
| 43 | } |