Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ansible-operator,helm-operator: improve executable help text #4187

Merged
merged 5 commits into from
Nov 6, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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