method SubCommand.execute
SubCommand.execute(
context: Context,
argumentValues: ArgumentValues,
): Promise<void>

Execute the command.

Parameters

context: Context

the Context in which to execute the command.

argumentValues: ArgumentValues

the argument values for the command. This may be empty if the command's Option and Positional instances are all optional and no argument values were provided.

Return Type

Promise<void>

Usage

import type SubCommand from ".";