sfdx-hardis
Version:
Swiss-army-knife Toolbox for Salesforce. Allows you to define a complete CD/CD Pipeline. Orchestrate base commands and assist users with interactive wizards
19 lines (18 loc) • 1.16 kB
TypeScript
import { SfCommand } from '@salesforce/sf-plugins-core';
import { AnyJson } from '@salesforce/ts-types';
export declare class FilterXmlContent extends SfCommand<any> {
static readonly description = "Filter content of metadatas (XML) in order to be able to deploy only part of them on an org (See [Example configuration](https://github.com/nvuillam/sfdx-essentials/blob/master/examples/filter-xml-content-config.json))\n\nWhen you perform deployments from one org to another, the features activated in the target org may not fit the content of the sfdx/metadata files extracted from the source org.\n\nYou may need to filter some elements in the XML files, for example in the Profiles\n\nThis script requires a filter-config.json file";
static readonly examples: string[];
static readonly requiresProject = true;
static readonly flags: any;
configFile: string;
inputFolder: string;
outputFolder: string;
smmryUpdatedFiles: {};
smmryResult: {
filterResults: {};
};
run(): Promise<AnyJson>;
filterXmlFromFile(filter: any, file: any): void;
filterElement(elementValue: any, filter: any, file: any): any;
}