Skip to content

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

Notifications You must be signed in to change notification settings

EluciusFTW/fsharp-spectre-console-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

Stars

Watchers

Forks

Languages