]
Ondrej Zizka reassigned FORGE-2337:
-----------------------------------
Assignee: George Gastaldi
Make promptBoolean() print the message and assume the default value
in shell.
-----------------------------------------------------------------------------
Key: FORGE-2337
URL:
https://issues.jboss.org/browse/FORGE-2337
Project: Forge
Issue Type: Enhancement
Components: UI - API, UI - Shell
Affects Versions: 2.15.2.Final
Reporter: Ondrej Zizka
Assignee: George Gastaldi
Please make prompt() to print the text and assume the default value when
INTERACTIVE=false.
This does nothing if INTERACTIVE=false :
{code:java}
@Override
public Result execute(UIExecutionContext uiExecContext) throws Exception
{
uiExecContext.getPrompt().promptBoolean("AAAAA", true);
{code}