UNPKG

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

27 lines (26 loc) 1 kB
import { SfCommand } from '@salesforce/sf-plugins-core'; import { LoggerLevel } from '@salesforce/core'; import { AnyJson } from '@salesforce/ts-types'; export default class Find extends SfCommand<any> { protected static metadataDuplicateFindKeys: { layout: string[]; profile: string[]; labels: string[]; permissionset: string[]; }; static title: string; static description: string; static examples: string[]; protected configInfo: any; protected logLevel: LoggerLevel; static flags: any; static requiresProject: boolean; run(): Promise<AnyJson>; initConfig(): Promise<void>; findDuplicates(flags: any): Promise<any[]>; /** * Traverse down a XML tree, allProps containing all the properties to be traversed, currentProp being updated as we * descend. */ traverseDown(parent: Record<string, unknown> | Array<any>, currentProp: string, allProps: Array<string>, results: Array<string>): string[]; }