UNPKG

@jayree/sfdx-plugin-manifest

Version:

A powerful Salesforce CLI plugin and Node.js library to effortlessly generate, clean up, and manage package.xml and destructiveChanges.xml manifests directly from your Salesforce orgs or from Git changes in your SF projects. Unlock faster, safer, and smar

40 lines (39 loc) 1.71 kB
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; }