Unit Command.Install

Uses
Classes, Interfaces, Objects and Records
Types
Constants
Variables

Description

This unit contains procedures to configure and execute a command to install pasc app in the following path $HOME/.pasc.

Overview

Functions and Procedures

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

Description

Functions and Procedures

procedure InstallCommand(ABuilder: ICommandBuilder);

Copy the pasc application to the "home" folder and create the folder if it doesn't exist. Updates the OS-equivalent path environment variable with the new folder so that pasc is visible on the command line.

Parameters
ABuilder
Instance o the builder that will be use to output instructions to user about the installation status
procedure Registry(ABuilder: ICommandBuilder);

Registry a install 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.

Generated by PasDoc 0.16.0.