Skip to content

Type Alias: CLIContextParams ​

CLIContextParams = object

The parameters creating a CLIContext, given by the CLI adapters.

Properties ​

command ​

readonly command: string

The command of the action as declared, its controller prefix included ('user:get <id>').


data ​

readonly data: Record<string, any>

The input of the action before its validation: the positional arguments and the options of the command, by the names of the DTO properties.

Released under the MIT License.