json-type-cli
Version:
High-performance JSON Pointer implementation
12 lines (11 loc) • 412 B
TypeScript
import type { Cli } from '../Cli';
import type { CliParam } from '../types';
export declare class CliParamJson implements CliParam {
readonly param = "json";
readonly short = "j";
readonly title = "Set JSON value";
readonly example = "--j/foo='{\"a\":1}'";
readonly createInstance: (cli: Cli, pointer: string, rawValue: unknown) => {
readonly onRequest: () => Promise<void>;
};
}