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
33 lines (32 loc) • 1.21 kB
TypeScript
import { SfCommand } from '@salesforce/sf-plugins-core';
import { AnyJson } from '@salesforce/ts-types';
export default class ScratchCreate extends SfCommand<any> {
static title: string;
static description: string;
static examples: string[];
static flags: any;
static requiresProject: boolean;
protected static requiresSfdxPlugins: string[];
protected forceNew: boolean;
protected debugMode: boolean;
protected pool: boolean;
protected configInfo: any;
protected devHubAlias: string;
protected scratchOrgAlias: string;
protected scratchOrgDuration: number;
protected userEmail: string;
protected gitBranch: string;
protected projectScratchDef: any;
protected scratchOrgInfo: any;
protected scratchOrgUsername: string;
protected scratchOrgPassword: string;
protected scratchOrgSfdxAuthUrl: string | null;
protected authFileJson: any;
protected projectName: string;
protected scratchOrgFromPool: any;
run(): Promise<AnyJson>;
initConfig(): Promise<void>;
createScratchOrg(flags: any): Promise<void>;
buildScratchCreateErrorMessage(createResult: any): string;
updateScratchOrgUser(): Promise<void>;
}