Skip to content

parseListDirectoryCommand

This content is for v1.2.1. Switch to the latest version for up-to-date documentation.

parseListDirectoryCommand(commandName, queryParts): ListDirectoryCommand

Defined in: application/commands/bookmark-list-command-parser.ts:183

Ls commandを作ります。

string

入力されたcommand名です。

readonly string[]

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

ListDirectoryCommand

Ls commandです。

const result = parseListDirectoryCommand("ll", ["-a", "./Work"]);
// { kind: "ls", options: { all: true, long: true }, pathInput: "./Work" }

Last updated: