UNPKG

646 BTypeScriptView Raw
1import { flags } from '@salesforce/command';
2import { ToolbeltCommand } from './ToolbeltCommand';
3import Output = flags.Output;
4export declare type ResultFormatOptions = {
5 options?: string[];
6 default?: string;
7};
8/**
9 * Support --resultfomat on commands. Useful for commands that can output different
10 * formats like human, csv, json, or different testing results like tap, etc.
11 */
12export declare abstract class ReporterCommand extends ToolbeltCommand {
13 static resultFormatOptions: ResultFormatOptions;
14 static readonly flags: Output;
15 protected init(): Promise<void>;
16 protected readonly statics: typeof ToolbeltCommand;
17}