Skip to main content
Version: 1.x

Command

Command​

Represents a command with its metadata and middleware associations.

Signature
interface Command {
id: string;
name: string;
path: string;
relativePath: string;
parentPath: string;
middlewares: Array<string>;
category: string | null;
}

id​

property
string

name​

property
string

path​

property
string

relativePath​

property
string

parentPath​

property
string

middlewares​

property
Array<string>

category​

property
string | null