Skip to content

Commit df23b7e

Browse files
jberkhahnEric Stroczynski
andauthored
ansible-operator,helm-operator: improve executable help text (#4187)
Co-authored-by: Eric Stroczynski <[email protected]>
1 parent 41cd6d4 commit df23b7e

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
entries:
2+
- description: >
3+
Improved `ansible-operator` and `helm-operator` help text
4+
kind: change
5+
breaking: false

cmd/ansible-operator/main.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ import (
2626

2727
func main() {
2828
root := cobra.Command{
29+
Short: "Reconcile an Ansible operator project using ansible-runner",
30+
Long: `This binary runs an Ansible operator that reconciles Kubernetes resources
31+
managed by the ansible-runner program. It can be run either directly or from an Ansible
32+
operator project's image entrypoint
33+
`,
2934
Use: "ansible-operator",
3035
}
3136

cmd/helm-operator/main.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ import (
2626

2727
func main() {
2828
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+
`,
2934
Use: "helm-operator",
3035
}
3136

0 commit comments

Comments
 (0)