Command-line interface for generating LogoFX-based desktop .NET apps via dotnet tool
Install from source:
./devops/install-templates-pack.cmd
Install from package repo:
dotnet new --install LogoFX.Templates::0.4.2-beta.1
This command will install all LogoFX templates
dotnet new logofx-wpf
The solution will be created in current folder with name of this folder. Use -n option to set custom solution name
dotnet new logofx-wpf -n <solution-name>
Inside solution folder run
dotnet new logofx-entity -sn <solution-name> -n <entity-name> [--allow-scripts yes]
This command adds <entity-name> entity to <solution-name>.Model project; I<entity-name> contract to <solution-name>.Model.Contracts project; <entity-name>Dto dto to <solution-name>.Data.Contracts.Dto project.
If you didn't specify --allow-scripts yes parameter the template engine ask you to allow template script launch. This script will change Mappers\MappingProfile and Module (in … .Model project) for setup mapping between the DTO and the model.