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!
- Host: GitHub
- URL: https://github.com/codito/cliy
- Owner: codito
- License: mit
- Created: 2022-02-17T03:38:43.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-06-21T19:39:09.000Z (over 2 years ago)
- Last Synced: 2025-01-07T06:41:52.545Z (about 1 year ago)
- Topics: cli, console, dotnet, dotnet-core, dotnet-new, dotnet-template
- Language: C#
- Homepage:
- Size: 63.5 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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).