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<'?11323,'?11324> -> p2:ArgumentParser<'?11323,'?11325> -> IArgumentStream<'?11323> -> Reply<'?11324>
Type parameters: '?11323, '?11324, '?11325
( .>>. ) p1 p2
Signature: p1:ArgumentParser<'?11327,'?11328> -> p2:ArgumentParser<'?11327,'?11329> -> IArgumentStream<'?11327> -> Reply<'?11328 * '?11329>
Type parameters: '?11327, '?11328, '?11329
( |>> ) p f
Signature: p:ArgumentParser<'?11335,'?11336> -> f:('?11336 -> '?11337) -> IArgumentStream<'?11335> -> Reply<'?11337>
Type parameters: '?11335, '?11336, '?11337
( <?> ) p label
Signature: p:ArgumentParser<'u,'a> -> label:string -> ArgumentParser<'u,'a>
Type parameters: 'u, 'a
( <|> ) p1 p2
Signature: p1:ArgumentParser<'?11348,'?11349> -> p2:ArgumentParser<'?11348,'?11349> -> IArgumentStream<'?11348> -> Reply<'?11349>
Type parameters: '?11348, '?11349
( >>% ) p x
Signature: p:ArgumentParser<'?11315,'?11316> -> x:'?11317 -> IArgumentStream<'?11315> -> Reply<'?11317>
Type parameters: '?11315, '?11316, '?11317
( >>. ) p1 p2
Signature: p1:ArgumentParser<'?11319,'?11320> -> p2:ArgumentParser<'?11319,'?11321> -> IArgumentStream<'?11319> -> Reply<'?11321>
Type parameters: '?11319, '?11320, '?11321
( >>= ) 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,'?11332> -> p:ArgumentParser<'u,'?11333> -> IArgumentStream<'u> -> Reply<'?11333>
Type parameters: 'u, '?11332, '?11333
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 -> '?11402 option) -> stream:IArgumentStream<'?11403> -> Reply<'?11402>
Type parameters: '?11402, '?11403
chooseParser' itemType chooser
Signature: itemType:string -> chooser:(string -> '?11408 option) -> IArgumentStream<'?11409> -> Reply<'?11408>
Type parameters: '?11408, '?11409
chooseParserFull itemType chooser stream
Signature: itemType:string -> chooser:(string option -> '?11405 option) -> stream:IArgumentStream<'?11406> -> Reply<'?11405>
Type parameters: '?11405, '?11406
chooseParserFull' itemType chooser
Signature: itemType:string -> chooser:(string -> '?11411 option) -> IArgumentStream<'?11412> -> Reply<'?11411>
Type parameters: '?11411, '?11412
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<'?11356,'?11357> -> ArgumentParser<'?11356,'?11357 list>
Type parameters: '?11356, '?11357
many1(p)
Signature: p:ArgumentParser<'?11359,'?11360> -> ArgumentParser<'?11359,'?11360 list>
Type parameters: '?11359, '?11360
mergeMap m1 m2
Signature: m1:Map<'?11431,'?11432> -> m2:Map<'?11431,'?11432> -> Map<'?11431,'?11432>
Type parameters: '?11431, '?11432
mergeMaps(maps)
Signature: maps:seq<Map<'?11434,'?11435>> -> Map<'?11434,'?11435>
Type parameters: '?11434, '?11435
multipleSaveInMap(f)
Signature: f:('?11428 -> '?11429) -> '?11428 -> IArgumentStream<DocoptMap> -> Reply<DocoptMap>
Type parameters: '?11428, '?11429
parg(argName)
Signature: argName:string -> IArgumentStream<'?11416> -> Reply<string>
Type parameters: '?11416
pcmd(cmd)
Signature: cmd:string -> IArgumentStream<'?11414> -> Reply<string>
Type parameters: '?11414
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:'?11305 -> stream:IArgumentStream<'?11306> -> Reply<'?11305>
Type parameters: '?11305, '?11306
pseq(ps)
Signature: ps:seq<ArgumentParser<'?11362,Map<'?11363,'?11364>>> -> ArgumentParser<'?11362,Map<'?11363,'?11364>>
Type parameters: '?11362, '?11363, '?11364
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<'?11308> -> Reply<'?11309>
Type parameters: '?11308, '?11309
saveInMap key f
Signature: key:string -> f:('?11424 -> DocoptResult) -> '?11424 -> IArgumentStream<DocoptMap> -> Reply<DocoptMap>
Type parameters: '?11424
saveInMapM keys f
Signature: keys:seq<string> -> f:('?11426 -> DocoptResult) -> '?11426 -> IArgumentStream<DocoptMap> -> Reply<DocoptMap>
Type parameters: '?11426
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