Uploaded image for project: 'Qt Installer Framework'
  1. Qt Installer Framework
  2. QTIFW-2356

Interactive mode for CLI

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Do
    • P3: Somewhat important
    • None
    • None
    • CLI
    • All

    Description

      Suggestion to add an interactive/shell/prompt mode for the installer's CLI.

      This means the end-user invokes the installer or maintenance tool with the keyword to starts the interactive mode. The user is given a prompt to run any of the existing commands until explicitly exited. This means single commands could be run multiple times, or different commands chained:

      $ ./installer.run interactive
      > check-updates             -> updates available...
      > update                    -> success!
      > exit
      $ ./installer.run interactive
      > search qt                 -> too broad output, let's narrow the search..
      > search qt.qt6.620         -> output: qt.qt6.620.gcc_64,... etc.
      > install qt.qt6.620.gcc_64 -> success!
      > exit
      
      $ ./installer.run interactive
      > list                      -> output: qt.qt6.620.gcc_64,... etc.
      > remove qt.qt6.620.gcc_64  -> success!
      > exit

      This would potentially speed-up the CLI usage, if it would be possible to avoid fetching, extracting and evaluating metadata again for every command.

       

      Attachments

        Activity

          People

            installerteam Installer Team
            arttu.tarkiainen Arttu Tarkiainen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: