UNPKG

json-type-cli

Version:

High-performance JSON Pointer implementation

12 lines (11 loc) 428 B
import type { Cli } from '../Cli'; import type { CliParam } from '../types'; export declare class CliParamFile implements CliParam { readonly param = "file"; readonly short = "f"; readonly title = "Read value from file"; readonly example = "--f/foo=test.json:json:/a/b/c"; readonly createInstance: (cli: Cli, pointer: string, rawValue: unknown) => { readonly onRequest: () => Promise<void>; }; }