UNPKG

json-type-cli

Version:

High-performance JSON Pointer implementation

12 lines (11 loc) 404 B
import type { Cli } from '../Cli'; import type { CliParam } from '../types'; export declare class CliParamStr implements CliParam { readonly param = "str"; readonly short = "s"; readonly title = "Set string value"; readonly example = "--s/foo=abc"; readonly createInstance: (cli: Cli, pointer: string, rawValue: unknown) => { readonly onRequest: () => Promise<void>; }; }