EluciusFTW / fsharp-spectre-console-template

This repository is a minimal starter template for using Spectre.Console from a console application in F#, using commands and settings binding.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FSharp Spectre.Console Template

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.

Sample

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!

Spectre.Console & SpectreCoff

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.

Feedback and Contributing

All feedback welcome! All contributions are welcome!

About

This repository is a minimal starter template for using Spectre.Console from a console application in F#, using commands and settings binding.


Languages

Language:F# 100.0%