Unit Command.Install

Description

This unit contains the deprecated install command. pasc used to copy itself to $HOME/.pasc and change the PATH (~/.profile on Linux, /etc/paths on macOS, the user PATH on Windows), which was unreliable. The command now only shows how to install pasc with a package manager, manually or from source, and how to remove an old install. It does not change anything.

Overview

Functions and Procedures

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

Description

Functions and Procedures

procedure InstallCommand(ABuilder: ICommandBuilder);

Shows the recommended way to install pasc on the current platform, and the steps to remove an install made by the previous versions of this command. Nothing is changed, and the exit code is 1, since pasc is not installed by it.

Parameters
ABuilder
Command builder of the main application that will be used to output the instructions.
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 1.0.4.