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<'?11862,'?11863> -> p2:ArgumentParser<'?11862,'?11864> -> IArgumentStream<'?11862> -> Reply<'?11863>
Type parameters: '?11862, '?11863, '?11864
( .>>. ) p1 p2
Signature: p1:ArgumentParser<'?11866,'?11867> -> p2:ArgumentParser<'?11866,'?11868> -> IArgumentStream<'?11866> -> Reply<'?11867 * '?11868>
Type parameters: '?11866, '?11867, '?11868
( |>> ) p f
Signature: p:ArgumentParser<'?11874,'?11875> -> f:('?11875 -> '?11876) -> IArgumentStream<'?11874> -> Reply<'?11876>
Type parameters: '?11874, '?11875, '?11876
( <?> ) p label
Signature: p:ArgumentParser<'u,'a> -> label:string -> ArgumentParser<'u,'a>
Type parameters: 'u, 'a
( <|> ) p1 p2
Signature: p1:ArgumentParser<'?11887,'?11888> -> p2:ArgumentParser<'?11887,'?11888> -> IArgumentStream<'?11887> -> Reply<'?11888>
Type parameters: '?11887, '?11888
( >>% ) p x
Signature: p:ArgumentParser<'?11854,'?11855> -> x:'?11856 -> IArgumentStream<'?11854> -> Reply<'?11856>
Type parameters: '?11854, '?11855, '?11856
( >>. ) p1 p2
Signature: p1:ArgumentParser<'?11858,'?11859> -> p2:ArgumentParser<'?11858,'?11860> -> IArgumentStream<'?11858> -> Reply<'?11860>
Type parameters: '?11858, '?11859, '?11860
( >>= ) 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,'?11871> -> p:ArgumentParser<'u,'?11872> -> IArgumentStream<'u> -> Reply<'?11872>
Type parameters: 'u, '?11871, '?11872
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 -> '?11941 option) -> stream:IArgumentStream<'?11942> -> Reply<'?11941>
Type parameters: '?11941, '?11942
chooseParser' itemType chooser
Signature: itemType:string -> chooser:(string -> '?11947 option) -> IArgumentStream<'?11948> -> Reply<'?11947>
Type parameters: '?11947, '?11948
chooseParserFull itemType chooser stream
Signature: itemType:string -> chooser:(string option -> '?11944 option) -> stream:IArgumentStream<'?11945> -> Reply<'?11944>
Type parameters: '?11944, '?11945
chooseParserFull' itemType chooser
Signature: itemType:string -> chooser:(string -> '?11950 option) -> IArgumentStream<'?11951> -> Reply<'?11950>
Type parameters: '?11950, '?11951
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<'?11895,'?11896> -> ArgumentParser<'?11895,'?11896 list>
Type parameters: '?11895, '?11896
many1(p)
Signature: p:ArgumentParser<'?11898,'?11899> -> ArgumentParser<'?11898,'?11899 list>
Type parameters: '?11898, '?11899
mergeMap m1 m2
Signature: m1:Map<'?11970,'?11971> -> m2:Map<'?11970,'?11971> -> Map<'?11970,'?11971>
Type parameters: '?11970, '?11971
mergeMaps(maps)
Signature: maps:seq<Map<'?11973,'?11974>> -> Map<'?11973,'?11974>
Type parameters: '?11973, '?11974
multipleSaveInMap(f)
Signature: f:('?11967 -> '?11968) -> '?11967 -> IArgumentStream<DocoptMap> -> Reply<DocoptMap>
Type parameters: '?11967, '?11968
parg(argName)
Signature: argName:string -> IArgumentStream<'?11955> -> Reply<string>
Type parameters: '?11955
pcmd(cmd)
Signature: cmd:string -> IArgumentStream<'?11953> -> Reply<string>
Type parameters: '?11953
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:'?11844 -> stream:IArgumentStream<'?11845> -> Reply<'?11844>
Type parameters: '?11844, '?11845
pseq(ps)
Signature: ps:seq<ArgumentParser<'?11901,Map<'?11902,'?11903>>> -> ArgumentParser<'?11901,Map<'?11902,'?11903>>
Type parameters: '?11901, '?11902, '?11903
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<'?11847> -> Reply<'?11848>
Type parameters: '?11847, '?11848
saveInMap key f
Signature: key:string -> f:('?11963 -> DocoptResult) -> '?11963 -> IArgumentStream<DocoptMap> -> Reply<DocoptMap>
Type parameters: '?11963
saveInMapM keys f
Signature: keys:seq<string> -> f:('?11965 -> DocoptResult) -> '?11965 -> IArgumentStream<DocoptMap> -> Reply<DocoptMap>
Type parameters: '?11965
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