Unit Command.Licenses

Description

This unit contains the licenses command, which shows the license of pasc and the notices of the third-party software included in the executable, so they go with it even when it is copied without the release zip. The texts are the LICENSE and THIRD-PARTY-NOTICES.md files of the repository, embedded by resources/compile.sh.

Overview

Functions and Procedures

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

Description

Functions and Procedures

procedure LicensesCommand(ABuilder: ICommandBuilder);

Shows the pasc license followed by the third-party notices.

Parameters
ABuilder
Command builder of the main application that will be used to output the texts.
procedure Registry(ABuilder: ICommandBuilder);

Registry the licenses command using the command builder from pascli, also sets 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.