CleanCommand constructor

CleanCommand()

Creates a new instance of CleanCommand.

Configures the command-line argument parser to accept:

  • --morpheme-yaml: Path to the morpheme.yaml configuration file
  • --remove-lock, -l: Flag to remove iOS Podfile.lock

Implementation

CleanCommand() {
  argParser.addOptionMorphemeYaml();
  argParser.addFlag(
    'remove-lock',
    abbr: 'l',
    defaultsTo: false,
    help: 'Remove iOS Podfile.lock file for complete dependency refresh',
  );
}