@jayree/sfdx-plugin-manifest
Version:
A Salesforce CLI plugin containing commands for creating manifest files from Salesforce orgs or git commits of sfdx projects.
40 lines (39 loc) • 1.71 kB
TypeScript
import { SfCommand } from '@salesforce/sf-plugins-core';
import { Optional } from '@salesforce/ts-types';
export type GitDiffCommandResult = {
manifest?: {
path: string;
name: string;
};
destructiveChanges?: {
path: string;
name: string;
};
};
export default class GitDiffCommand extends SfCommand<GitDiffCommandResult> {
static readonly summary: string;
static readonly description: string;
static readonly examples: string[];
static readonly args: {
ref1: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
ref2: import("@oclif/core/interfaces").Arg<string | undefined, Record<string, unknown>>;
};
static readonly requiresProject = true;
static readonly flags: {
'api-version': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
'source-dir': import("@oclif/core/interfaces").OptionFlag<string[] | undefined, import("@oclif/core/interfaces").CustomOptions>;
'output-dir': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
'destructive-changes-only': import("@oclif/core/interfaces").BooleanFlag<boolean>;
};
private outputDir;
private manifestName;
private destructiveChangesName;
private manifestOutputPath;
private destructiveChangesOutputPath;
private componentSet;
private destructiveChangesOnly;
run(): Promise<GitDiffCommandResult>;
protected getSourceApiVersion(): Promise<Optional<string>>;
protected createManifest(): Promise<void>;
protected formatResult(): GitDiffCommandResult;
}