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<'?11906,'?11907> -> p2:ArgumentParser<'?11906,'?11908> -> IArgumentStream<'?11906> -> Reply<'?11907>
Type parameters: '?11906, '?11907, '?11908
( .>>. ) p1 p2
Signature: p1:ArgumentParser<'?11910,'?11911> -> p2:ArgumentParser<'?11910,'?11912> -> IArgumentStream<'?11910> -> Reply<'?11911 * '?11912>
Type parameters: '?11910, '?11911, '?11912
( |>> ) p f
Signature: p:ArgumentParser<'?11918,'?11919> -> f:('?11919 -> '?11920) -> IArgumentStream<'?11918> -> Reply<'?11920>
Type parameters: '?11918, '?11919, '?11920
( <?> ) p label
Signature: p:ArgumentParser<'u,'a> -> label:string -> ArgumentParser<'u,'a>
Type parameters: 'u, 'a
( <|> ) p1 p2
Signature: p1:ArgumentParser<'?11931,'?11932> -> p2:ArgumentParser<'?11931,'?11932> -> IArgumentStream<'?11931> -> Reply<'?11932>
Type parameters: '?11931, '?11932
( >>% ) p x
Signature: p:ArgumentParser<'?11898,'?11899> -> x:'?11900 -> IArgumentStream<'?11898> -> Reply<'?11900>
Type parameters: '?11898, '?11899, '?11900
( >>. ) p1 p2
Signature: p1:ArgumentParser<'?11902,'?11903> -> p2:ArgumentParser<'?11902,'?11904> -> IArgumentStream<'?11902> -> Reply<'?11904>
Type parameters: '?11902, '?11903, '?11904
( >>= ) 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,'?11915> -> p:ArgumentParser<'u,'?11916> -> IArgumentStream<'u> -> Reply<'?11916>
Type parameters: 'u, '?11915, '?11916
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 -> '?11985 option) -> stream:IArgumentStream<'?11986> -> Reply<'?11985>
Type parameters: '?11985, '?11986
chooseParser' itemType chooser
Signature: itemType:string -> chooser:(string -> '?11991 option) -> IArgumentStream<'?11992> -> Reply<'?11991>
Type parameters: '?11991, '?11992
chooseParserFull itemType chooser stream
Signature: itemType:string -> chooser:(string option -> '?11988 option) -> stream:IArgumentStream<'?11989> -> Reply<'?11988>
Type parameters: '?11988, '?11989
chooseParserFull' itemType chooser
Signature: itemType:string -> chooser:(string -> '?11994 option) -> IArgumentStream<'?11995> -> Reply<'?11994>
Type parameters: '?11994, '?11995
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<'?11939,'?11940> -> ArgumentParser<'?11939,'?11940 list>
Type parameters: '?11939, '?11940
many1(p)
Signature: p:ArgumentParser<'?11942,'?11943> -> ArgumentParser<'?11942,'?11943 list>
Type parameters: '?11942, '?11943
mergeMap m1 m2
Signature: m1:Map<'?12014,'?12015> -> m2:Map<'?12014,'?12015> -> Map<'?12014,'?12015>
Type parameters: '?12014, '?12015
mergeMaps(maps)
Signature: maps:seq<Map<'?12017,'?12018>> -> Map<'?12017,'?12018>
Type parameters: '?12017, '?12018
multipleSaveInMap(f)
Signature: f:('?12011 -> '?12012) -> '?12011 -> IArgumentStream<DocoptMap> -> Reply<DocoptMap>
Type parameters: '?12011, '?12012
parg(argName)
Signature: argName:string -> IArgumentStream<'?11999> -> Reply<string>
Type parameters: '?11999
pcmd(cmd)
Signature: cmd:string -> IArgumentStream<'?11997> -> Reply<string>
Type parameters: '?11997
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:'?11888 -> stream:IArgumentStream<'?11889> -> Reply<'?11888>
Type parameters: '?11888, '?11889
pseq(ps)
Signature: ps:seq<ArgumentParser<'?11945,Map<'?11946,'?11947>>> -> ArgumentParser<'?11945,Map<'?11946,'?11947>>
Type parameters: '?11945, '?11946, '?11947
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<'?11891> -> Reply<'?11892>
Type parameters: '?11891, '?11892
saveInMap key f
Signature: key:string -> f:('?12007 -> DocoptResult) -> '?12007 -> IArgumentStream<DocoptMap> -> Reply<DocoptMap>
Type parameters: '?12007
saveInMapM keys f
Signature: keys:seq<string> -> f:('?12009 -> DocoptResult) -> '?12009 -> IArgumentStream<DocoptMap> -> Reply<DocoptMap>
Type parameters: '?12009
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