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<'?11888,'?11889> -> p2:ArgumentParser<'?11888,'?11890> -> IArgumentStream<'?11888> -> Reply<'?11889>
Type parameters: '?11888, '?11889, '?11890
( .>>. ) p1 p2
Signature: p1:ArgumentParser<'?11892,'?11893> -> p2:ArgumentParser<'?11892,'?11894> -> IArgumentStream<'?11892> -> Reply<'?11893 * '?11894>
Type parameters: '?11892, '?11893, '?11894
( |>> ) p f
Signature: p:ArgumentParser<'?11900,'?11901> -> f:('?11901 -> '?11902) -> IArgumentStream<'?11900> -> Reply<'?11902>
Type parameters: '?11900, '?11901, '?11902
( <?> ) p label
Signature: p:ArgumentParser<'u,'a> -> label:string -> ArgumentParser<'u,'a>
Type parameters: 'u, 'a
( <|> ) p1 p2
Signature: p1:ArgumentParser<'?11913,'?11914> -> p2:ArgumentParser<'?11913,'?11914> -> IArgumentStream<'?11913> -> Reply<'?11914>
Type parameters: '?11913, '?11914
( >>% ) p x
Signature: p:ArgumentParser<'?11880,'?11881> -> x:'?11882 -> IArgumentStream<'?11880> -> Reply<'?11882>
Type parameters: '?11880, '?11881, '?11882
( >>. ) p1 p2
Signature: p1:ArgumentParser<'?11884,'?11885> -> p2:ArgumentParser<'?11884,'?11886> -> IArgumentStream<'?11884> -> Reply<'?11886>
Type parameters: '?11884, '?11885, '?11886
( >>= ) 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,'?11897> -> p:ArgumentParser<'u,'?11898> -> IArgumentStream<'u> -> Reply<'?11898>
Type parameters: 'u, '?11897, '?11898
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 -> '?11967 option) -> stream:IArgumentStream<'?11968> -> Reply<'?11967>
Type parameters: '?11967, '?11968
chooseParser' itemType chooser
Signature: itemType:string -> chooser:(string -> '?11973 option) -> IArgumentStream<'?11974> -> Reply<'?11973>
Type parameters: '?11973, '?11974
chooseParserFull itemType chooser stream
Signature: itemType:string -> chooser:(string option -> '?11970 option) -> stream:IArgumentStream<'?11971> -> Reply<'?11970>
Type parameters: '?11970, '?11971
chooseParserFull' itemType chooser
Signature: itemType:string -> chooser:(string -> '?11976 option) -> IArgumentStream<'?11977> -> Reply<'?11976>
Type parameters: '?11976, '?11977
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<'?11921,'?11922> -> ArgumentParser<'?11921,'?11922 list>
Type parameters: '?11921, '?11922
many1(p)
Signature: p:ArgumentParser<'?11924,'?11925> -> ArgumentParser<'?11924,'?11925 list>
Type parameters: '?11924, '?11925
mergeMap m1 m2
Signature: m1:Map<'?11996,'?11997> -> m2:Map<'?11996,'?11997> -> Map<'?11996,'?11997>
Type parameters: '?11996, '?11997
mergeMaps(maps)
Signature: maps:seq<Map<'?11999,'?12000>> -> Map<'?11999,'?12000>
Type parameters: '?11999, '?12000
multipleSaveInMap(f)
Signature: f:('?11993 -> '?11994) -> '?11993 -> IArgumentStream<DocoptMap> -> Reply<DocoptMap>
Type parameters: '?11993, '?11994
parg(argName)
Signature: argName:string -> IArgumentStream<'?11981> -> Reply<string>
Type parameters: '?11981
pcmd(cmd)
Signature: cmd:string -> IArgumentStream<'?11979> -> Reply<string>
Type parameters: '?11979
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:'?11870 -> stream:IArgumentStream<'?11871> -> Reply<'?11870>
Type parameters: '?11870, '?11871
pseq(ps)
Signature: ps:seq<ArgumentParser<'?11927,Map<'?11928,'?11929>>> -> ArgumentParser<'?11927,Map<'?11928,'?11929>>
Type parameters: '?11927, '?11928, '?11929
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<'?11873> -> Reply<'?11874>
Type parameters: '?11873, '?11874
saveInMap key f
Signature: key:string -> f:('?11989 -> DocoptResult) -> '?11989 -> IArgumentStream<DocoptMap> -> Reply<DocoptMap>
Type parameters: '?11989
saveInMapM keys f
Signature: keys:seq<string> -> f:('?11991 -> DocoptResult) -> '?11991 -> IArgumentStream<DocoptMap> -> Reply<DocoptMap>
Type parameters: '?11991
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