json-type-cli
Version:
High-performance JSON Pointer implementation
12 lines (11 loc) • 429 B
TypeScript
import type { Cli } from '../Cli';
import type { CliParam } from '../types';
export declare class CliParamCmd implements CliParam {
readonly param = "cmd";
readonly short = "c";
readonly title = "Set value by command";
readonly example = "--c/foo='(echo [1,2,3]):json:/1'";
readonly createInstance: (cli: Cli, pointer: string, rawValue: unknown) => {
readonly onRequest: () => Promise<void>;
};
}