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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.3.1
    • 2.3.2, 2.4.0, 3.0.0
    • karaf

    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

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

            Dates

              Created:
              Updated:
              Resolved: