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<'?11921,'?11922> -> p2:ArgumentParser<'?11921,'?11923> -> IArgumentStream<'?11921> -> Reply<'?11922>
Type parameters: '?11921, '?11922, '?11923
( .>>. ) p1 p2
Signature: p1:ArgumentParser<'?11925,'?11926> -> p2:ArgumentParser<'?11925,'?11927> -> IArgumentStream<'?11925> -> Reply<'?11926 * '?11927>
Type parameters: '?11925, '?11926, '?11927
( |>> ) p f
Signature: p:ArgumentParser<'?11933,'?11934> -> f:('?11934 -> '?11935) -> IArgumentStream<'?11933> -> Reply<'?11935>
Type parameters: '?11933, '?11934, '?11935
( <?> ) p label
Signature: p:ArgumentParser<'u,'a> -> label:string -> ArgumentParser<'u,'a>
Type parameters: 'u, 'a
( <|> ) p1 p2
Signature: p1:ArgumentParser<'?11946,'?11947> -> p2:ArgumentParser<'?11946,'?11947> -> IArgumentStream<'?11946> -> Reply<'?11947>
Type parameters: '?11946, '?11947
( >>% ) p x
Signature: p:ArgumentParser<'?11913,'?11914> -> x:'?11915 -> IArgumentStream<'?11913> -> Reply<'?11915>
Type parameters: '?11913, '?11914, '?11915
( >>. ) p1 p2
Signature: p1:ArgumentParser<'?11917,'?11918> -> p2:ArgumentParser<'?11917,'?11919> -> IArgumentStream<'?11917> -> Reply<'?11919>
Type parameters: '?11917, '?11918, '?11919
( >>= ) 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,'?11930> -> p:ArgumentParser<'u,'?11931> -> IArgumentStream<'u> -> Reply<'?11931>
Type parameters: 'u, '?11930, '?11931
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 -> '?12000 option) -> stream:IArgumentStream<'?12001> -> Reply<'?12000>
Type parameters: '?12000, '?12001
chooseParser' itemType chooser
Signature: itemType:string -> chooser:(string -> '?12006 option) -> IArgumentStream<'?12007> -> Reply<'?12006>
Type parameters: '?12006, '?12007
chooseParserFull itemType chooser stream
Signature: itemType:string -> chooser:(string option -> '?12003 option) -> stream:IArgumentStream<'?12004> -> Reply<'?12003>
Type parameters: '?12003, '?12004
chooseParserFull' itemType chooser
Signature: itemType:string -> chooser:(string -> '?12009 option) -> IArgumentStream<'?12010> -> Reply<'?12009>
Type parameters: '?12009, '?12010
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<'?11954,'?11955> -> ArgumentParser<'?11954,'?11955 list>
Type parameters: '?11954, '?11955
many1(p)
Signature: p:ArgumentParser<'?11957,'?11958> -> ArgumentParser<'?11957,'?11958 list>
Type parameters: '?11957, '?11958
mergeMap m1 m2
Signature: m1:Map<'?12029,'?12030> -> m2:Map<'?12029,'?12030> -> Map<'?12029,'?12030>
Type parameters: '?12029, '?12030
mergeMaps(maps)
Signature: maps:seq<Map<'?12032,'?12033>> -> Map<'?12032,'?12033>
Type parameters: '?12032, '?12033
multipleSaveInMap(f)
Signature: f:('?12026 -> '?12027) -> '?12026 -> IArgumentStream<DocoptMap> -> Reply<DocoptMap>
Type parameters: '?12026, '?12027
parg(argName)
Signature: argName:string -> IArgumentStream<'?12014> -> Reply<string>
Type parameters: '?12014
pcmd(cmd)
Signature: cmd:string -> IArgumentStream<'?12012> -> Reply<string>
Type parameters: '?12012
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:'?11903 -> stream:IArgumentStream<'?11904> -> Reply<'?11903>
Type parameters: '?11903, '?11904
pseq(ps)
Signature: ps:seq<ArgumentParser<'?11960,Map<'?11961,'?11962>>> -> ArgumentParser<'?11960,Map<'?11961,'?11962>>
Type parameters: '?11960, '?11961, '?11962
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<'?11906> -> Reply<'?11907>
Type parameters: '?11906, '?11907
saveInMap key f
Signature: key:string -> f:('?12022 -> DocoptResult) -> '?12022 -> IArgumentStream<DocoptMap> -> Reply<DocoptMap>
Type parameters: '?12022
saveInMapM keys f
Signature: keys:seq<string> -> f:('?12024 -> DocoptResult) -> '?12024 -> IArgumentStream<DocoptMap> -> Reply<DocoptMap>
Type parameters: '?12024
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