C# Class Bari.Core.Commands.Clean.CleanCommand

Implements the 'clean' command, which removes all the generated and cached files from the suite file system.
Inheritance: ICommand
Datei anzeigen Open project: vigoo/bari

Public Methods

Method Description
CleanCommand ( [ targetRoot, IEnumerable extensions, IUserOutput output, ISoftCleanPredicates predicates ) : System

Constructs the command

Run ( Suite suite, string parameters ) : bool

Runs the command

Private Methods

Method Description
CleanWarning ( Exception ex ) : void

Method Details

CleanCommand() public method

Constructs the command
public CleanCommand ( [ targetRoot, IEnumerable extensions, IUserOutput output, ISoftCleanPredicates predicates ) : System
targetRoot [ Target root directory
extensions IEnumerable Additional cleaning steps to be performed
output IUserOutput User interface output interface
predicates ISoftCleanPredicates Soft clean predicate registry
return System

Run() public method

Runs the command
public Run ( Suite suite, string parameters ) : bool
suite Suite The current suite model the command is applied to
parameters string Parameters given to the command (in unprocessed form)
return bool