Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/logofx/cli-dotnet
Command-line interface for generating and managing desktop .NET apps
https://github.com/logofx/cli-dotnet
Last synced: about 4 hours ago
JSON representation
Command-line interface for generating and managing desktop .NET apps
- Host: GitHub
- URL: https://github.com/logofx/cli-dotnet
- Owner: LogoFX
- License: apache-2.0
- Created: 2020-04-28T15:28:24.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-19T04:52:53.000Z (almost 4 years ago)
- Last Synced: 2024-04-28T05:54:41.548Z (7 months ago)
- Language: C#
- Size: 744 KB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cli-dotnet
Command-line interface for generating LogoFX-based desktop .NET apps via `dotnet` tool## Install templates pack
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
## Create solution from the installed template```
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
```## Add model entity to existing project
Inside solution folder run
```
dotnet new logofx-entity -sn -n [--allow-scripts yes]
```This command adds `` entity to `.Model` project; `I` contract to `.Model.Contracts` project; `Dto` dto to `.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.
## Azure Devops CI Status
[![Build Status](https://dev.azure.com/LogoFX/cli-dotnet/_apis/build/status/LogoFX.cli-dotnet?branchName=master)](https://dev.azure.com/LogoFX/cli-dotnet/_build/latest?definitionId=1&branchName=master)