An open API service indexing awesome lists of open source software.

https://github.com/codito/cliy

Command line template extraordinaire!
https://github.com/codito/cliy

cli console dotnet dotnet-core dotnet-new dotnet-template

Last synced: 8 months ago
JSON representation

Command line template extraordinaire!

Awesome Lists containing this project

README

          

# Cliy

Cliy is a command line template for `dotnet new`. It comes with all batteries
included for rapid prototyping!

## Features

- [x] Command line parsing with
[System.CommandLine](https://www.nuget.org/packages/System.CommandLine)
- [x] Console UI and colorful text awesomeness with
[Spectre.Console](https://www.nuget.org/packages/Spectre.Console)
- [x] Sqlite datastore powered by
[Sqlite-net](https://www.nuget.org/packages/sqlite-net-pcl)
- [x] Yaml based app configuration using
[YamlDotNet](https://www.nuget.org/packages/YamlDotNet/)
- [x] Clean architecture with core, data and infrastructure separation
- [x] Compile-time dependency injection with
[Jab](https://www.nuget.org/packages/Jab/)
- [x] Stylecop analyzer rules for product and test projects

## Usage

TODO: will push to nuget soon.

```sh
# Clone and install the repo for usage in `dotnet new`.
> git clone https://github.com/codito/cliy
> cd cliy
> dotnet new --install template

# See all available parameters
> dotnet new cliy --help

# Now let's try to create a app from this template
> mkdir /tmp/trial
> cd /tmp/trial
> dotnet new cliy --name "FooApp" --companyName "John Doe"
> cd FooApp
> dotnet build # build the freshly minted project
> dotnet test # run a few tests
```

## License

MIT

## Author

[codito](https://codito.in).