【文件属性】:
文件名称:FSharp.CommandLine:在F#中构建命令行应用程序的框架
文件大小:42KB
文件格式:ZIP
更新时间:2021-05-27 16:22:48
F#
FSharp命令行
可以FSharp.CommandLine库
PM> Install-Package FSharp.CommandLine
FSharp.CommandLine是一个Monadic命令行应用程序框架,可自动生成帮助文本和shell建议。
该库还包含类型安全的scanf和类型安全的命令行选项解析器。
例子
open System
open FSharp. CommandLine
let fileOption =
commandOption {
names [ " f " ; " file " ]
description " Name of a file to use (Default index: 0) "
takes ( format ( " %s : %i " ) .withNames [ " filename " ; " index
【文件预览】:
FSharp.CommandLine-master
----test.fsx(4KB)
----.github()
--------ISSUE_TEMPLATE.md(576B)
----FSharp.CommandLine.sln(2KB)
----RELEASE_NOTES.md(441B)
----fake.cmd(144B)
----fake.sh(569B)
----src()
--------common()
--------FSharp.Scanf()
--------FSharp.CommandLine()
----nuget.config(293B)
----build.fsx.lock(23KB)
----.gitignore(3KB)
----build.fsx(3KB)
----README.md(2KB)
----.gitattributes(608B)
----LICENSE.txt(11KB)