CliHandlerRegistrarRegisterCliHandlerParams
Parameters for registering a CLI handler.
Import:
import type { CliHandlerRegistrarRegisterCliHandlerParams } from '@mnaoumov/obsidian-lib/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. |
| handler | (cliData: CliData) => Promisable<string> | The handler to register. |
Links to this page: