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<'?11561,'?11562> -> p2:ArgumentParser<'?11561,'?11563> -> IArgumentStream<'?11561> -> Reply<'?11562>
Type parameters: '?11561, '?11562, '?11563
( .>>. ) p1 p2
Signature: p1:ArgumentParser<'?11565,'?11566> -> p2:ArgumentParser<'?11565,'?11567> -> IArgumentStream<'?11565> -> Reply<'?11566 * '?11567>
Type parameters: '?11565, '?11566, '?11567
( |>> ) p f
Signature: p:ArgumentParser<'?11573,'?11574> -> f:('?11574 -> '?11575) -> IArgumentStream<'?11573> -> Reply<'?11575>
Type parameters: '?11573, '?11574, '?11575
( <?> ) p label
Signature: p:ArgumentParser<'u,'a> -> label:string -> ArgumentParser<'u,'a>
Type parameters: 'u, 'a
( <|> ) p1 p2
Signature: p1:ArgumentParser<'?11586,'?11587> -> p2:ArgumentParser<'?11586,'?11587> -> IArgumentStream<'?11586> -> Reply<'?11587>
Type parameters: '?11586, '?11587
( >>% ) p x
Signature: p:ArgumentParser<'?11553,'?11554> -> x:'?11555 -> IArgumentStream<'?11553> -> Reply<'?11555>
Type parameters: '?11553, '?11554, '?11555
( >>. ) p1 p2
Signature: p1:ArgumentParser<'?11557,'?11558> -> p2:ArgumentParser<'?11557,'?11559> -> IArgumentStream<'?11557> -> Reply<'?11559>
Type parameters: '?11557, '?11558, '?11559
( >>= ) 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,'?11570> -> p:ArgumentParser<'u,'?11571> -> IArgumentStream<'u> -> Reply<'?11571>
Type parameters: 'u, '?11570, '?11571
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 -> '?11640 option) -> stream:IArgumentStream<'?11641> -> Reply<'?11640>
Type parameters: '?11640, '?11641
chooseParser' itemType chooser
Signature: itemType:string -> chooser:(string -> '?11646 option) -> IArgumentStream<'?11647> -> Reply<'?11646>
Type parameters: '?11646, '?11647
chooseParserFull itemType chooser stream
Signature: itemType:string -> chooser:(string option -> '?11643 option) -> stream:IArgumentStream<'?11644> -> Reply<'?11643>
Type parameters: '?11643, '?11644
chooseParserFull' itemType chooser
Signature: itemType:string -> chooser:(string -> '?11649 option) -> IArgumentStream<'?11650> -> Reply<'?11649>
Type parameters: '?11649, '?11650
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<'?11594,'?11595> -> ArgumentParser<'?11594,'?11595 list>
Type parameters: '?11594, '?11595
many1(p)
Signature: p:ArgumentParser<'?11597,'?11598> -> ArgumentParser<'?11597,'?11598 list>
Type parameters: '?11597, '?11598
mergeMap m1 m2
Signature: m1:Map<'?11669,'?11670> -> m2:Map<'?11669,'?11670> -> Map<'?11669,'?11670>
Type parameters: '?11669, '?11670
mergeMaps(maps)
Signature: maps:seq<Map<'?11672,'?11673>> -> Map<'?11672,'?11673>
Type parameters: '?11672, '?11673
multipleSaveInMap(f)
Signature: f:('?11666 -> '?11667) -> '?11666 -> IArgumentStream<DocoptMap> -> Reply<DocoptMap>
Type parameters: '?11666, '?11667
parg(argName)
Signature: argName:string -> IArgumentStream<'?11654> -> Reply<string>
Type parameters: '?11654
pcmd(cmd)
Signature: cmd:string -> IArgumentStream<'?11652> -> Reply<string>
Type parameters: '?11652
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:'?11543 -> stream:IArgumentStream<'?11544> -> Reply<'?11543>
Type parameters: '?11543, '?11544
pseq(ps)
Signature: ps:seq<ArgumentParser<'?11600,Map<'?11601,'?11602>>> -> ArgumentParser<'?11600,Map<'?11601,'?11602>>
Type parameters: '?11600, '?11601, '?11602
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<'?11546> -> Reply<'?11547>
Type parameters: '?11546, '?11547
saveInMap key f
Signature: key:string -> f:('?11662 -> DocoptResult) -> '?11662 -> IArgumentStream<DocoptMap> -> Reply<DocoptMap>
Type parameters: '?11662
saveInMapM keys f
Signature: keys:seq<string> -> f:('?11664 -> DocoptResult) -> '?11664 -> IArgumentStream<DocoptMap> -> Reply<DocoptMap>
Type parameters: '?11664
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