Idiomatic F# support for CliWrap
// momentum
// why it's here
- Active: last commit today
- Health 85/100 with only 14 stars
// how to help
// readme
CliWrap.FSharp
Idiomatic F# support for CliWrap.
Install
- NuGet:
dotnet add package UnMango.CliWrap.FSharp - GitHub Packages:
dotnet add package UnMango.CliWrap.FSharp -s github
Usage
Bindings for normal CliWrap commands are available in the Cli module.
let main args = async {
let! result =
Cli.wrap "dotnet"
|> Cli.args [ "build" ]
|> Cli.workDir "~/src/CliWrap.FSharp"
|> Cli.exec
return result.ExitCode
}
Cancellation token overloads are available in Cli.Tasks.