import { JSONSchemaType } from 'ajv'; import { SchemaIds } from '../constants/schemas'; import { GlobalOptionsWithRequiredStdin } from '../interfaces/common'; import Command from './command'; export default class CommandWithStdin extends Command { protected schemaId: SchemaIds; protected schema: JSONSchemaType; protected options: T_CommandOptions; protected globalOptions: GlobalOptionsWithRequiredStdin; protected ipCmd: string[]; constructor(schemaId: SchemaIds, schema: JSONSchemaType, options: T_CommandOptions, globalOptions: GlobalOptionsWithRequiredStdin, ipCmd: string[]); protected buildCmd(): void; exec(): Promise; }