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<'?11322,'?11323> -> p2:ArgumentParser<'?11322,'?11324> -> IArgumentStream<'?11322> -> Reply<'?11323>
Type parameters: '?11322, '?11323, '?11324
( .>>. ) p1 p2
Signature: p1:ArgumentParser<'?11326,'?11327> -> p2:ArgumentParser<'?11326,'?11328> -> IArgumentStream<'?11326> -> Reply<'?11327 * '?11328>
Type parameters: '?11326, '?11327, '?11328
( |>> ) p f
Signature: p:ArgumentParser<'?11334,'?11335> -> f:('?11335 -> '?11336) -> IArgumentStream<'?11334> -> Reply<'?11336>
Type parameters: '?11334, '?11335, '?11336
( <?> ) p label
Signature: p:ArgumentParser<'u,'a> -> label:string -> ArgumentParser<'u,'a>
Type parameters: 'u, 'a
( <|> ) p1 p2
Signature: p1:ArgumentParser<'?11347,'?11348> -> p2:ArgumentParser<'?11347,'?11348> -> IArgumentStream<'?11347> -> Reply<'?11348>
Type parameters: '?11347, '?11348
( >>% ) p x
Signature: p:ArgumentParser<'?11314,'?11315> -> x:'?11316 -> IArgumentStream<'?11314> -> Reply<'?11316>
Type parameters: '?11314, '?11315, '?11316
( >>. ) p1 p2
Signature: p1:ArgumentParser<'?11318,'?11319> -> p2:ArgumentParser<'?11318,'?11320> -> IArgumentStream<'?11318> -> Reply<'?11320>
Type parameters: '?11318, '?11319, '?11320
( >>= ) 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,'?11331> -> p:ArgumentParser<'u,'?11332> -> IArgumentStream<'u> -> Reply<'?11332>
Type parameters: 'u, '?11331, '?11332
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 -> '?11401 option) -> stream:IArgumentStream<'?11402> -> Reply<'?11401>
Type parameters: '?11401, '?11402
chooseParser' itemType chooser
Signature: itemType:string -> chooser:(string -> '?11407 option) -> IArgumentStream<'?11408> -> Reply<'?11407>
Type parameters: '?11407, '?11408
chooseParserFull itemType chooser stream
Signature: itemType:string -> chooser:(string option -> '?11404 option) -> stream:IArgumentStream<'?11405> -> Reply<'?11404>
Type parameters: '?11404, '?11405
chooseParserFull' itemType chooser
Signature: itemType:string -> chooser:(string -> '?11410 option) -> IArgumentStream<'?11411> -> Reply<'?11410>
Type parameters: '?11410, '?11411
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<'?11355,'?11356> -> ArgumentParser<'?11355,'?11356 list>
Type parameters: '?11355, '?11356
many1(p)
Signature: p:ArgumentParser<'?11358,'?11359> -> ArgumentParser<'?11358,'?11359 list>
Type parameters: '?11358, '?11359
mergeMap m1 m2
Signature: m1:Map<'?11430,'?11431> -> m2:Map<'?11430,'?11431> -> Map<'?11430,'?11431>
Type parameters: '?11430, '?11431
mergeMaps(maps)
Signature: maps:seq<Map<'?11433,'?11434>> -> Map<'?11433,'?11434>
Type parameters: '?11433, '?11434
multipleSaveInMap(f)
Signature: f:('?11427 -> '?11428) -> '?11427 -> IArgumentStream<DocoptMap> -> Reply<DocoptMap>
Type parameters: '?11427, '?11428
parg(argName)
Signature: argName:string -> IArgumentStream<'?11415> -> Reply<string>
Type parameters: '?11415
pcmd(cmd)
Signature: cmd:string -> IArgumentStream<'?11413> -> Reply<string>
Type parameters: '?11413
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:'?11304 -> stream:IArgumentStream<'?11305> -> Reply<'?11304>
Type parameters: '?11304, '?11305
pseq(ps)
Signature: ps:seq<ArgumentParser<'?11361,Map<'?11362,'?11363>>> -> ArgumentParser<'?11361,Map<'?11362,'?11363>>
Type parameters: '?11361, '?11362, '?11363
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<'?11307> -> Reply<'?11308>
Type parameters: '?11307, '?11308
saveInMap key f
Signature: key:string -> f:('?11423 -> DocoptResult) -> '?11423 -> IArgumentStream<DocoptMap> -> Reply<DocoptMap>
Type parameters: '?11423
saveInMapM keys f
Signature: keys:seq<string> -> f:('?11425 -> DocoptResult) -> '?11425 -> IArgumentStream<DocoptMap> -> Reply<DocoptMap>
Type parameters: '?11425
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