Cliy is a command line template for dotnet new. It comes with all batteries
included for rapid prototyping!
Features
- Command line parsing with System.CommandLine
- Console UI and colorful text awesomeness with Spectre.Console
- Sqlite datastore powered by Sqlite-net
- Yaml based app configuration using YamlDotNet
- Clean architecture with core, data and infrastructure separation
- Compile-time dependency injection with Jab
- Stylecop analyzer rules for product and test projects
Usage
TODO: will push to nuget soon.
# 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