This repository contains a small, ready-to-go starting point for developing a console application in F#, using the Spectre.Console.Cli library.
Spectre.Console.Cli uses commands and settings to create strongly typed bindings to console arguments. It also provides help and documentation and default values in a simple manner.
This template contains one sample command, greet, to which you can provide your name (using -n|--name
) as a parameter:
dotnet run greet -n "John"
Feel free to clone it and start your application from here!
This template is just about Spectre.Console.Cli, i.e., using the commands and parameter bindings package.
We do recommend using it together Spectre.Console via SpectreCoff, our F# wrapper.
All feedback welcome! All contributions are welcome!