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

[kn-plugin-workflow] Fix quarkus create showing examples from create command with --help flag #2518

Open
domhanak opened this issue Aug 7, 2024 · 0 comments
Assignees

Comments

@domhanak
Copy link
Contributor

domhanak commented Aug 7, 2024

Goal
Fix output of kn workflow quarkus create --help

Reason
When running kn workflow quarkus create --help the result is not correct:

	It sets up a Quarkus project with minimal extensions to build a workflow
	project.
	The generated project has a "hello world" workflow.sw.json located on the
	./<project-name>/src/main/resources directory.
		

Usage:
  kn workflow quarkus create [flags]

Examples:

	# Create a project in the local directory
	# By default the project is named "new-project"
	KN WORKFLOW CREATE

	# Create a project with an specific name
	KN WORKFLOW CREATE --name myproject

	# Create a project with additional extensions
	# You can add multiple extensions by separating them with a comma
	KN WORKFLOW CREATE --extensions kogito-addons-quarkus-persistence-postgresql,quarkus-core**
		

Flags:
  -e, --extension string                   On Quarkus projects, setup project custom Maven extensions, separated with a comma.
  -h, --help                               help for create
  -n, --name string                        Project name created in the current directory. (default "new-project")
  -G, --quarkus-platform-group-id string   On Quarkus projects, setup project group id. (default "io.quarkus.platform")
  -V, --quarkus-version string             On Quarkus projects, setup the project version. (default "3.8.4")

Notice the text in CAPITALS should be kn workflow quarkus create ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant