This is part of the Fake.Core.CommandLineParsing module.

UsageAst

Union Cases

Union CaseDescription
Ano(title,o')
Signature: string * SafeOptions

Matches an option annotation [options]

Arg(name')
Signature: string

Named/Positional argument

Cmd(cmd')
Signature: string

Fixed command, like "push" in "git push"

Ell(ast')
Signature: UsageAst

Marks that the given item can be given multiple times

Eps
Signature:

matches nothing?

Lop(o')
Signature: SafeOption

long option

Req(ast')
Signature: UsageAst

Requires the given item

Sdh
Signature:

matches the stdin [-]

Seq(asts')
Signature: UsageAst list

Sequence of items, if the items are only options then order is ignored.

Sop(o')
Signature: SafeOptions

Short options

Sqb(ast')
Signature: UsageAst

Marks the given item as optional

Xor(l',r')
Signature: UsageAst * UsageAst

Either the one or the other

XorEmpty
Signature:

Instance members

Instance memberDescription
x.ContainsOnlyOptions
Signature: bool
x.InstanceOfSop
Signature: bool