Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-2230

Watch command - Add option to control if the console should clear or not

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.1
    • Fix Version/s: 2.3.2, 2.4.0, 3.0.0
    • Component/s: karaf-shell
    • Labels:

      Description

      The watch command will clear the console on each run. It would be nice if there was an option to not clear, so the watch can run like a log:tail command does.

      karaf@root> watch --help
      DESCRIPTION
              shell:watch
      
      	Watches & refreshes the output of a command
      
      SYNTAX
              shell:watch [options] command
      
      ARGUMENTS
              command
                      The command to watch / refresh
      
      OPTIONS
              --help
                      Display this help message
              -n, --interval
                      The interval between executions of the command in seconds
                      (defaults to 1)
      
      

        Attachments

          Activity

            People

            • Assignee:
              ffang Freeman Fang
              Reporter:
              davsclaus Claus Ibsen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: