Skip to content

FileExplorerPlugin.registerCliHandler method

FileExplorerPlugin › registerCliHandler

Unofficial

Registers a CLI handler for the file explorer.

Signature:

registerCliHandler(command: string, description: string, flags: CliFlags | null, handler: CliHandler): void

Parameters:

Parameter Type Description
command string The command ID.
description string The help/autocomplete description.
flags CliFlags | null The CLI flags, or null.
handler CliHandler The handler callback.

Returns: void