Skip to content

Commit

Permalink
ansible-operator,helm-operator: improve executable help text (operato…
Browse files Browse the repository at this point in the history
…r-framework#4187)

Co-authored-by: Eric Stroczynski <estroczy@redhat.com>
Signed-off-by: reinvantveer <rein.van.t.veer@geodan.nl>
  • Loading branch information
2 people authored and reinvantveer committed Feb 5, 2021
1 parent feb6a79 commit 853dfa9
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions changelog/fragments/ansible-helm-help-text.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
entries:
- description: >
Improved `ansible-operator` and `helm-operator` help text
kind: change
breaking: false
5 changes: 5 additions & 0 deletions cmd/ansible-operator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ import (

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

Expand Down
5 changes: 5 additions & 0 deletions cmd/helm-operator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ import (

func main() {
root := cobra.Command{
Short: "Reconcile an Helm operator project using helm",
Long: `This binary runs a Helm operator that reconciles Kubernetes resources
managed by the helm program. It can be run either directly or from a Helm operator
project's image entrypoint
`,
Use: "helm-operator",
}

Expand Down

0 comments on commit 853dfa9

Please sign in to comment.