Index
Modules:
climate
,
climate/parser
,
climate/sugar
,
climate/types
.
API symbols
arg:
sugar: template arg(context: Context; body: untyped): untyped
sugar: template arg(context: Context; body, fallback: untyped): untyped
args:
sugar: template args(context: Context; body): untyped
sugar: template args(context: Context; body, fallback: untyped): untyped
Command:
types: tuple Command
Context:
types: object Context
flag:
sugar: template flag(context: Context; longName, shortName: string; body: untyped): untyped
sugar: template flag(context: Context; longName, shortName: string; body, fallback: untyped): untyped
Handler:
types: type Handler
opt:
sugar: template opt(context: Context; longName, shortName: string; body: untyped): untyped
sugar: template opt(context: Context; longName, shortName: string; body, fallback: untyped): untyped
parseCommands:
parser: proc parseCommands(commands: openArray[Command]; defaultHandler: Handler = nil): int