Unit Command.New
Description
This unit contains procedures to configure and execute a command to create a new free pascal/lazarus project. With also some basic repo initialization, boss package manager ready and support to use vscode with pre configured tasks.
Overview
Functions and Procedures
procedure NewCommand(ABuilder: ICommandBuilder); |
procedure Registry(ABuilder: ICommandBuilder); |
Description
Functions and Procedures
procedure NewCommand(ABuilder: ICommandBuilder); |
|
This command creates a freepascal/lazarus project respecting a previously organized folder structure so that it is easier to operate the project in vscode, with git previously initialized and ready to work with boss dependency manager. With –workspace it creates a workspace instead: a repository with multiple apps and internal packages. Inside a workspace, –app and –package create its members. With –template=name it creates the app from a template, with its boss dependencies installed: outside a workspace, a workspace with the app in apps/name; inside one, with –app, the app in the apps folder of the workspace.
Parameters
|
procedure Registry(ABuilder: ICommandBuilder); |
|
Registry a new command using the command builder from pascli.
Parameters
|
Generated by PasDoc 1.0.4.