Unit Command.Clean

Uses
Classes, Interfaces, Objects and Records
Types
Constants

Description

This unit contains procedures to configure and execute a command to clean folders.

Overview

Functions and Procedures

procedure CleanCommand(ABuilder: ICommandBuilder);
procedure Registry(ABuilder: ICommandBuilder);

Variables

AnsweredAll: boolean;

Description

Functions and Procedures

procedure CleanCommand(ABuilder: ICommandBuilder);

This command recursively from the current path searches for folders named "lib" and "backup" to remove them. However, before removing them, it asks the user for confirmation. Confirmation that can be suppressed if the –force option is given.

Parameters
ABuilder
Command builder that will provide the output callback to print info about the command execution
procedure Registry(ABuilder: ICommandBuilder);

Registry a clean command using the command builder from pascli, also sets. options and usage help info.

Parameters
ABuilder
Command builder of the main application that will be used to registry the command.

Variables

AnsweredAll: boolean;
 

Generated by PasDoc 0.16.0.