Skip to main content
Version: 1.x

CommandTreeNode

CommandTreeNode​

Internal tree node representing either a filesystem command or a hierarchical container.

Signature
interface CommandTreeNode {
id: string;
source: CommandTreeNodeSource;
kind: CommandTreeNodeKind;
token: string;
route: string[];
category: string | null;
parentId: string | null;
childIds: string[];
directoryPath: string;
definitionPath: string | null;
relativePath: string;
shorthand: boolean;
executable: boolean;
}

id​

property
string

source​

kind​

token​

property
string

route​

property
string[]

category​

property
string | null

parentId​

property
string | null

childIds​

property
string[]

directoryPath​

property
string

definitionPath​

property
string | null

relativePath​

property
string

shorthand​

property
boolean

executable​

property
boolean