Interface: RouteMap<CONTEXT>
Route map that stores multiple routes.
Extends
DocumentedTarget
Type Parameters
• CONTEXT extends CommandContext
Properties
brief
readonlybrief:string
Inherited from
DocumentedTarget.brief
Defined in
packages/core/src/routing/types.ts:19
formatHelp()
readonlyformatHelp: (args) =>string
Parameters
• args: HelpFormattingArguments
Returns
string
Inherited from
DocumentedTarget.formatHelp
Defined in
packages/core/src/routing/types.ts:22
formatUsageLine()
readonlyformatUsageLine: (args) =>string
Parameters
• args: UsageFormattingArguments
Returns
string
Inherited from
DocumentedTarget.formatUsageLine
Defined in
packages/core/src/routing/types.ts:21
fullDescription
readonlyfullDescription:undefined|string
Inherited from
DocumentedTarget.fullDescription
Defined in
packages/core/src/routing/types.ts:20
getAllEntries()
readonlygetAllEntries: () => readonlyRouteMapEntry<CONTEXT>[]
Returns
readonly RouteMapEntry<CONTEXT>[]
Defined in
packages/core/src/routing/route-map/types.ts:28
getDefaultCommand()
readonlygetDefaultCommand: () =>undefined|Command<CONTEXT>
Returns
undefined | Command<CONTEXT>
Defined in
packages/core/src/routing/route-map/types.ts:23
getOtherAliasesForInput()
readonlygetOtherAliasesForInput: (input,caseStyle) =>Readonly<Record<DisplayCaseStyle, readonlystring[]>>
Parameters
• input: string
• caseStyle: ScannerCaseStyle
Returns
Readonly<Record<DisplayCaseStyle, readonly string[]>>
Defined in
packages/core/src/routing/route-map/types.ts:24
getRoutingTargetForInput()
readonlygetRoutingTargetForInput: (input) =>undefined|RoutingTarget<CONTEXT>
Parameters
• input: string
Returns
undefined | RoutingTarget<CONTEXT>
Defined in
packages/core/src/routing/route-map/types.ts:22
kind
readonlykind: typeofRouteMapSymbol