This is part of the Fake.Core.CommandLineParsing module.

ArgParser

Nested types and modules

TypeDescription
Inline

Functions and values

Function or valueDescription
( .>> ) p1 p2
Signature: p1:ArgumentParser<'?11591,'?11592> -> p2:ArgumentParser<'?11591,'?11593> -> IArgumentStream<'?11591> -> Reply<'?11592>
Type parameters: '?11591, '?11592, '?11593
( .>>. ) p1 p2
Signature: p1:ArgumentParser<'?11595,'?11596> -> p2:ArgumentParser<'?11595,'?11597> -> IArgumentStream<'?11595> -> Reply<'?11596 * '?11597>
Type parameters: '?11595, '?11596, '?11597
( |>> ) p f
Signature: p:ArgumentParser<'?11603,'?11604> -> f:('?11604 -> '?11605) -> IArgumentStream<'?11603> -> Reply<'?11605>
Type parameters: '?11603, '?11604, '?11605
( <?> ) p label
Signature: p:ArgumentParser<'u,'a> -> label:string -> ArgumentParser<'u,'a>
Type parameters: 'u, 'a
( <|> ) p1 p2
Signature: p1:ArgumentParser<'?11616,'?11617> -> p2:ArgumentParser<'?11616,'?11617> -> IArgumentStream<'?11616> -> Reply<'?11617>
Type parameters: '?11616, '?11617
( >>% ) p x
Signature: p:ArgumentParser<'?11583,'?11584> -> x:'?11585 -> IArgumentStream<'?11583> -> Reply<'?11585>
Type parameters: '?11583, '?11584, '?11585
( >>. ) p1 p2
Signature: p1:ArgumentParser<'?11587,'?11588> -> p2:ArgumentParser<'?11587,'?11589> -> IArgumentStream<'?11587> -> Reply<'?11589>
Type parameters: '?11587, '?11588, '?11589
( >>= ) p f stream
Signature: p:ArgumentParser<'u,'a> -> f:('a -> ArgumentParser<'u,'b>) -> stream:IArgumentStream<'u> -> Reply<'b>
Type parameters: 'u, 'a, 'b
between popen pclose p
Signature: popen:ArgumentParser<'u,'u> -> pclose:ArgumentParser<'u,'?11600> -> p:ArgumentParser<'u,'?11601> -> IArgumentStream<'u> -> Reply<'?11601>
Type parameters: 'u, '?11600, '?11601
choice ps stream
Signature: ps:seq<ArgumentParser<'u,'a>> -> stream:IArgumentStream<'u> -> Reply<'a>
Type parameters: 'u, 'a
choiceBest ps stream
Signature: ps:seq<ArgumentParser<'u,'a>> -> stream:IArgumentStream<'u> -> Reply<'a>
Type parameters: 'u, 'a
chooseParser itemType chooser stream
Signature: itemType:string -> chooser:(string option -> '?11670 option) -> stream:IArgumentStream<'?11671> -> Reply<'?11670>
Type parameters: '?11670, '?11671
chooseParser' itemType chooser
Signature: itemType:string -> chooser:(string -> '?11676 option) -> IArgumentStream<'?11677> -> Reply<'?11676>
Type parameters: '?11676, '?11677
chooseParserFull itemType chooser stream
Signature: itemType:string -> chooser:(string option -> '?11673 option) -> stream:IArgumentStream<'?11674> -> Reply<'?11673>
Type parameters: '?11673, '?11674
chooseParserFull' itemType chooser
Signature: itemType:string -> chooser:(string -> '?11679 option) -> IArgumentStream<'?11680> -> Reply<'?11679>
Type parameters: '?11679, '?11680
debug map' arg' stream'
Signature: map':('a -> IArgumentStream<'state> -> unit) -> arg':'a -> stream':IArgumentStream<'state> -> Reply<'a>
Type parameters: 'a, 'state
getParser(ast)
Signature: ast:UsageAst -> ArgumentParser<DocoptMap,Map<string,DocoptResult>>
many(p)
Signature: p:ArgumentParser<'?11624,'?11625> -> ArgumentParser<'?11624,'?11625 list>
Type parameters: '?11624, '?11625
many1(p)
Signature: p:ArgumentParser<'?11627,'?11628> -> ArgumentParser<'?11627,'?11628 list>
Type parameters: '?11627, '?11628
mergeMap m1 m2
Signature: m1:Map<'?11699,'?11700> -> m2:Map<'?11699,'?11700> -> Map<'?11699,'?11700>
Type parameters: '?11699, '?11700
mergeMaps(maps)
Signature: maps:seq<Map<'?11702,'?11703>> -> Map<'?11702,'?11703>
Type parameters: '?11702, '?11703
multipleSaveInMap(f)
Signature: f:('?11696 -> '?11697) -> '?11696 -> IArgumentStream<DocoptMap> -> Reply<DocoptMap>
Type parameters: '?11696, '?11697
parg(argName)
Signature: argName:string -> IArgumentStream<'?11684> -> Reply<string>
Type parameters: '?11684
pcmd(cmd)
Signature: cmd:string -> IArgumentStream<'?11682> -> Reply<string>
Type parameters: '?11682
pLongFlag(flag)
Signature: flag:SafeOption -> IArgumentStream<DocoptMap> -> Reply<DocoptMap>
pOption includeShort o'
Signature: includeShort:bool -> o':SafeOption -> IArgumentStream<DocoptMap> -> Reply<DocoptMap>
pOptions allowMissing flags
Signature: allowMissing:bool -> flags:SafeOptions -> IArgumentStream<DocoptMap> -> Reply<DocoptMap>
preturn x stream
Signature: x:'?11573 -> stream:IArgumentStream<'?11574> -> Reply<'?11573>
Type parameters: '?11573, '?11574
pseq(ps)
Signature: ps:seq<ArgumentParser<'?11630,Map<'?11631,'?11632>>> -> ArgumentParser<'?11630,Map<'?11631,'?11632>>
Type parameters: '?11630, '?11631, '?11632
pShortFlag(flag)
Signature: flag:SafeOption -> IArgumentStream<DocoptMap> -> Reply<DocoptMap>
punorderedseq allowEmpty allowMissing ps
Signature: allowEmpty:bool -> allowMissing:bool -> ps:seq<ArgumentParser<'u,'a>> -> ArgumentParser<'u,'a list>
Type parameters: 'u, 'a
punorderedseqWithMany(...)
Signature: allowEmpty:bool -> allowMissing:bool -> ps:seq<bool * ArgumentParser<'u,'a>> -> stream:IArgumentStream<'u> -> Reply<'a list>
Type parameters: 'u, 'a
pzero(stream)
Signature: stream:IArgumentStream<'?11576> -> Reply<'?11577>
Type parameters: '?11576, '?11577
saveInMap key f
Signature: key:string -> f:('?11692 -> DocoptResult) -> '?11692 -> IArgumentStream<DocoptMap> -> Reply<DocoptMap>
Type parameters: '?11692
saveInMapM keys f
Signature: keys:seq<string> -> f:('?11694 -> DocoptResult) -> '?11694 -> IArgumentStream<DocoptMap> -> Reply<DocoptMap>
Type parameters: '?11694
updateMap key newItem map
Signature: key:string -> newItem:DocoptResult -> map:Map<string,DocoptResult> -> Map<string,DocoptResult>
updateUserState map' arg' stream'
Signature: map':('a -> DocoptMap -> DocoptMap) -> arg':'a -> stream':IArgumentStream<DocoptMap> -> Reply<DocoptMap>
Type parameters: 'a