Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/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.
https://github.com/EluciusFTW/fsharp-spectre-console-template
console-application spectre spectre-console starter-template template
Last synced: 3 months ago
JSON representation
This repository is a minimal starter template for using Spectre.Console from a console application in F#, using commands and settings binding.
- Host: GitHub
- URL: https://github.com/EluciusFTW/fsharp-spectre-console-template
- Owner: EluciusFTW
- Created: 2022-06-20T15:51:50.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-26T08:30:42.000Z (about 1 year ago)
- Last Synced: 2024-08-03T04:05:42.030Z (7 months ago)
- Topics: console-application, spectre, spectre-console, starter-template, template
- Language: F#
- Homepage:
- Size: 7.81 KB
- Stars: 18
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-fsharp-project-templates - EluciusFTW/fsharp-spectre-console-template - FSharp Spectre.Console Template (List / Console)
README
# 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](https://spectreconsole.net/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:```PS
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](https://github.com/EluciusFTW/SpectreCoff), our F# wrapper.
## Feedback and Contributing
All feedback welcome!
All contributions are welcome!