Skip to content

parseShowDirectoryTreeCommand

parseShowDirectoryTreeCommand(queryParts): ShowDirectoryTreeCommand

Defined in: application/commands/bookmark-tree-command-parser.ts:153

Tree commandを作ります。

readonly string[]

command名を除いたtoken一覧です。

ShowDirectoryTreeCommand

Tree commandです。

const result = parseShowDirectoryTreeCommand(["--depth", "2", "./Work"]);
// { kind: "tree", depth: 2, pathInput: "./Work" }