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 workflow create: unknown flag: --extension #378

Closed
gpando-mercadona opened this issue Jun 26, 2023 · 2 comments
Closed

kn workflow create: unknown flag: --extension #378

gpando-mercadona opened this issue Jun 26, 2023 · 2 comments
Assignees

Comments

@gpando-mercadona
Copy link

In https://sonataflow.org/serverlessworkflow/latest/getting-started/create-your-first-workflow-service.html#proc-boostrapping-the-project

kn workflow create \
--name serverless-workflow-hello-world \
--extension quarkus-jsonp,quarkus-smallrye-openapi \
--quarkus-platform-group-id=io.quarkus.platform \
--quarkus-version=2.16.7.Final

error : unknown flag: --extension

@ederign ederign self-assigned this Jun 28, 2023
@ederign
Copy link
Member

ederign commented Jun 30, 2023

@gpando-mercadona since two releases ago, we moved all quarkus commands to quarkus sub command.

So you should use:

kn workflow quarkus create
--name serverless-workflow-hello-world
--extension quarkus-jsonp,quarkus-smallrye-openapi
--quarkus-platform-group-id=io.quarkus.platform \
--quarkus-version=2.16.7.Final

Apologies for the outdated docs. We just released 0.31.0 yesterday (please use this version) and we will start to work on docs next week.

@gpando-mercadona
Copy link
Author

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants