FSharp.CommandLine
FSharp.CommandLine copied to clipboard
A framework for building command line application in F#
Hey, It's not really an issue, but a question. Is there a way to set an option required? Something like: ```fsharp opt files in fileOption |> CommandOption.requiredAndExactlyOne ```
``` let rec private dig argv (cmd: Command) = let config = (cmd.config CommandInfo.empty) match argv with | [] -> (cmd, []) | args -> match config.options |> List.choose (fun...
I'm working on adding unit tests to the project. I'm about halfway done with my first pass and then I'll open a pull request. https://github.com/mac10688/FSharp.CommandLine/tree/UnitTests
Working with [FSharpPlus](https://github.com/fsprojects/FSharpPlus), I learned how to deconstruct and construct an arbitrary n-tuple. I think I can get rid of the current limitation.
* Looks promising * It's great if I can just ask users to install `dotnet-suggest` to get completions - the auto completion feature is not very helpful right now