QuarkusApplication defines the entry point for a Quarkus command-line application. Annotate an implementing class with @QuarkusMain and implement run(String... args) to turn application logic into an executable command. section 4.10 section 4.8.2
A typical command-line application uses QuarkusApplication to:
- Wait for asynchronous operations with await().indefinitely() before returning from the CLI invocation. section 4.8.2
Inventory command
An inventory CLI can expose add and remove operations, connect to the InventoryService gRPC server, and run with arguments such as `add KNIGHT Pontiac TransAM`. The command reports the inserted car after the remote operation completes.
