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
31 lines (30 loc) • 951 B
TypeScript
import { SfCommand } from '@salesforce/sf-plugins-core';
import { AnyJson } from '@salesforce/ts-types';
export default class UnusedMetadatas extends SfCommand<any> {
static title: string;
static description: string;
static examples: string[];
static flags: any;
protected unusedData: any[];
protected outputFile: string;
protected outputFilesRes: any;
protected static supportsDevhubUsername: boolean;
static requiresProject: boolean;
private ignorePatterns;
private projectFiles;
private labelFilePattern;
private customPermissionFilePattern;
run(): Promise<AnyJson>;
/**
* @description Verify if custom labels are used in the project
* @returns
*/
private verifyLabels;
/**
* @description Verify if custom permissions are used in the project
* @returns
*/
private verifyCustomPermissions;
private setProjectFiles;
private buildCsvFile;
}