Skip to content

Commit

Permalink
WIP Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Guillaume Smet <[email protected]>
  • Loading branch information
loicmathieu and gsmet authored Aug 31, 2022
1 parent 36ed4ac commit 9960a7e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/src/main/asciidoc/command-mode-reference.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ First, we need to create a new Quarkus project with the following command:
:create-app-artifact-id: command-mode-quickstart
include::{includes}/devtools/create-app.adoc[]

NOTE: By default, our tooling will include the RESTEasy extension. As it is not desired for a command mode application,
you need to add `-no-code` for the CLI or `-DnoCode` for Maven. In the same way, if you use code.quarkus.io to generate a
project, you need to go to *MORE OPTIONS -> Starter Code* and select *No* to avoid adding the RESTEasy extension.
NOTE: The suggested project creation command lines disable the codestarts to avoid including a REST server. Similarly, if you use code.quarkus.io to generate a
project, you need to go to *MORE OPTIONS -> Starter Code* and select *No* to avoid adding the RESTEasy Reactive extension.

The RESTEasy Reactive extension is added automatically only if you ask for codestarts and you didn't specify any extensions.


== Writing Command Mode Applications
Expand Down Expand Up @@ -213,7 +214,7 @@ public class HelloTest {
----

Each test method must be annotated by `@Launch` to automatically start the application of have a `QuarkusMainLauncher`
Each test method must be annotated with `@Launch` to automatically start the application of have a `QuarkusMainLauncher`
parameter and manually launch the application.

We can then extend this with an integration test that can be used to test the native executable or runnable jar:
Expand Down

0 comments on commit 9960a7e

Please sign in to comment.