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
39 lines (38 loc) • 1.41 kB
TypeScript
import { SfCommand } from '@salesforce/sf-plugins-core';
export default class ActivateDecomposedMetadata extends SfCommand<any> {
static title: string;
static description: string;
static examples: string[];
static flags: any;
protected configInfo: any;
private sourceBehaviorOptionsCache?;
run(): Promise<any>;
/**
* Read the sfdx-project.json file and get existing sourceBehaviorOptions (with caching)
*/
private getExistingSourceBehaviorOptions;
/**
* Get package directories from project
* Supports custom package directory structures (Optimization #3)
* Returns base package paths (e.g., 'force-app'), not including 'main/default'
*/
private getPackageDirectories;
/**
* Check decomposition status: identify which metadata types are already decomposed and which remain
*/
private checkDecompositionStatus;
/**
* Detect which metadata types exist in the project
* Uses parallel file checks for better performance (Optimization #2)
*/
private detectApplicableMetadataTypes;
/**
* Execute a Salesforce CLI command with automatic confirmation (cross-platform)
* Uses the framework's execCommand utility with auto-confirmation via echo
*/
private execSfCommandWithConfirmation;
/**
* Decompose a specific metadata type
*/
private decomposeMetadataType;
}