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): voidParameters:
| 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