Class CleanCommand

java.lang.Object
io.karatelabs.cli.CleanCommand
All Implemented Interfaces:
Callable<Integer>

public class CleanCommand extends Object implements Callable<Integer>
The 'clean' subcommand for cleaning Karate output directories.

Usage examples:

 # Clean default output directory (honors karate-pom.json if present)
 karate clean

 # Clean specific output directory
 karate clean -o custom-reports

 # Clean with working directory
 karate clean -w /path/to/project

 # Clean ignoring karate-pom.json
 karate clean --no-pom
 
  • Constructor Details

    • CleanCommand

      public CleanCommand()
  • Method Details