Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-2337

Make promptBoolean() print the message and assume the default value in shell.

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 2.16.2.Final
    • 2.15.2.Final
    • UI - API, UI - Shell
    • None

    Description

      Please make prompt() to print the text and assume the default value when INTERACTIVE=false.

      This does nothing if INTERACTIVE=false :

          @Override
          public Result execute(UIExecutionContext uiExecContext) throws Exception
          {
              uiExecContext.getPrompt().promptBoolean("AAAAA", true);
      
      

      Attachments

        Issue Links

          Activity

            People

              rhn-support-ggastald George Gastaldi
              ozizka_jira Ondrej Zizka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: