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