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<'?11908,'?11909> -> p2:ArgumentParser<'?11908,'?11910> -> IArgumentStream<'?11908> -> Reply<'?11909>
Type parameters: '?11908, '?11909, '?11910
( .>>. ) p1 p2
Signature: p1:ArgumentParser<'?11912,'?11913> -> p2:ArgumentParser<'?11912,'?11914> -> IArgumentStream<'?11912> -> Reply<'?11913 * '?11914>
Type parameters: '?11912, '?11913, '?11914
( |>> ) p f
Signature: p:ArgumentParser<'?11920,'?11921> -> f:('?11921 -> '?11922) -> IArgumentStream<'?11920> -> Reply<'?11922>
Type parameters: '?11920, '?11921, '?11922
( <?> ) p label
Signature: p:ArgumentParser<'u,'a> -> label:string -> ArgumentParser<'u,'a>
Type parameters: 'u, 'a
( <|> ) p1 p2
Signature: p1:ArgumentParser<'?11933,'?11934> -> p2:ArgumentParser<'?11933,'?11934> -> IArgumentStream<'?11933> -> Reply<'?11934>
Type parameters: '?11933, '?11934
( >>% ) p x
Signature: p:ArgumentParser<'?11900,'?11901> -> x:'?11902 -> IArgumentStream<'?11900> -> Reply<'?11902>
Type parameters: '?11900, '?11901, '?11902
( >>. ) p1 p2
Signature: p1:ArgumentParser<'?11904,'?11905> -> p2:ArgumentParser<'?11904,'?11906> -> IArgumentStream<'?11904> -> Reply<'?11906>
Type parameters: '?11904, '?11905, '?11906
( >>= ) 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,'?11917> -> p:ArgumentParser<'u,'?11918> -> IArgumentStream<'u> -> Reply<'?11918>
Type parameters: 'u, '?11917, '?11918
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 -> '?11987 option) -> stream:IArgumentStream<'?11988> -> Reply<'?11987>
Type parameters: '?11987, '?11988
chooseParser' itemType chooser
Signature: itemType:string -> chooser:(string -> '?11993 option) -> IArgumentStream<'?11994> -> Reply<'?11993>
Type parameters: '?11993, '?11994
chooseParserFull itemType chooser stream
Signature: itemType:string -> chooser:(string option -> '?11990 option) -> stream:IArgumentStream<'?11991> -> Reply<'?11990>
Type parameters: '?11990, '?11991
chooseParserFull' itemType chooser
Signature: itemType:string -> chooser:(string -> '?11996 option) -> IArgumentStream<'?11997> -> Reply<'?11996>
Type parameters: '?11996, '?11997
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<'?11941,'?11942> -> ArgumentParser<'?11941,'?11942 list>
Type parameters: '?11941, '?11942
many1(p)
Signature: p:ArgumentParser<'?11944,'?11945> -> ArgumentParser<'?11944,'?11945 list>
Type parameters: '?11944, '?11945
mergeMap m1 m2
Signature: m1:Map<'?12016,'?12017> -> m2:Map<'?12016,'?12017> -> Map<'?12016,'?12017>
Type parameters: '?12016, '?12017
mergeMaps(maps)
Signature: maps:seq<Map<'?12019,'?12020>> -> Map<'?12019,'?12020>
Type parameters: '?12019, '?12020
multipleSaveInMap(f)
Signature: f:('?12013 -> '?12014) -> '?12013 -> IArgumentStream<DocoptMap> -> Reply<DocoptMap>
Type parameters: '?12013, '?12014
parg(argName)
Signature: argName:string -> IArgumentStream<'?12001> -> Reply<string>
Type parameters: '?12001
pcmd(cmd)
Signature: cmd:string -> IArgumentStream<'?11999> -> Reply<string>
Type parameters: '?11999
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:'?11890 -> stream:IArgumentStream<'?11891> -> Reply<'?11890>
Type parameters: '?11890, '?11891
pseq(ps)
Signature: ps:seq<ArgumentParser<'?11947,Map<'?11948,'?11949>>> -> ArgumentParser<'?11947,Map<'?11948,'?11949>>
Type parameters: '?11947, '?11948, '?11949
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<'?11893> -> Reply<'?11894>
Type parameters: '?11893, '?11894
saveInMap key f
Signature: key:string -> f:('?12009 -> DocoptResult) -> '?12009 -> IArgumentStream<DocoptMap> -> Reply<DocoptMap>
Type parameters: '?12009
saveInMapM keys f
Signature: keys:seq<string> -> f:('?12011 -> DocoptResult) -> '?12011 -> IArgumentStream<DocoptMap> -> Reply<DocoptMap>
Type parameters: '?12011
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