CliHandlerRegistrarRegisterCliHandlerParams
Parameters for registering a CLI handler.
Import:
import type { CliHandlerRegistrarRegisterCliHandlerParams } from 'obsidian-dev-utils/obsidian/plugin-cli-handler-registrar';Signature:
export interface CliHandlerRegistrarRegisterCliHandlerParamsProperties
| Property | Type | Description |
|---|---|---|
| command | string | The command to register the handler for. |
| description | string | The description of the command. |
| flags | CliFlags | null | The flags for the command. |
Methods
| Method | Returns | Description |
|---|---|---|
| handler(cliData) | Promisable<string> | The handler to register. |