Hi,

I would like to know if it is possible to develop some interactive commands
in the Karaf Shell, pausing the execution of the command and reading some
additional input from the user.
I have not found anything about that neither in the documentation nor in
the examples on Github.

To give a basic use case, I would like to ask for a confirmation before
proceeding with the actual removal in the "RemoveCommand" example:
https://github.com/apache/karaf/blob/main/examples/karaf-command-example/karaf-command-example-command/src/main/java/org/apache/karaf/examples/command/command/RemoveCommand.java


Best,
Damien

Reply via email to