Skip to content

Commit 55e1aad

Browse files
gsmetmskacelik
authored andcommitted
Small followup for Picocli + Gradle improvement
Follow up on quarkusio#43407
1 parent 94941d5 commit 55e1aad

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/src/main/asciidoc/picocli.adoc

+3-1
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,9 @@ annotationProcessor 'info.picocli:picocli-codegen'
297297

298298
== Development Mode
299299

300-
In the development mode, i.e. when running `mvn quarkus:dev`, the application is executed and restarted every time the `Space bar` key is pressed. You can also pass arguments to your command line app via the `quarkus.args` system property, e.g. `mvn quarkus:dev -Dquarkus.args='--help'` and `mvn quarkus:dev -Dquarkus.args='-c -w --val 1'`. For gradle project arguments can be passed using `--quarkus-args`.
300+
In the development mode, i.e. when running `mvn quarkus:dev`, the application is executed and restarted every time the `Space bar` key is pressed. You can also pass arguments to your command line app via the `quarkus.args` system property, e.g. `mvn quarkus:dev -Dquarkus.args='--help'` and `mvn quarkus:dev -Dquarkus.args='-c -w --val 1'`.
301+
For Gradle projects, arguments can be passed using `--quarkus-args`.
302+
301303
[NOTE]
302304
====
303305
If you're creating a typical Quarkus application (e.g., HTTP-based services) that includes command-line functionality, you'll need to handle the application's lifecycle differently. In the `Runnable.run()` method of your command, make sure to use `Quarkus.waitForExit()` or `Quarkus.asyncExit()`. This will prevent the application from shutting down prematurely and ensure a proper shutdown process.

0 commit comments

Comments
 (0)