autoforce
Version:
Developer Automation tool for Github / Gitlab and Salesforce projects.
15 lines (14 loc) • 814 B
TypeScript
import type { IStepCommand, IStepFunction } from "../types/helpers/tasks.js";
import { AnyValue } from "../types/auto.js";
export declare function executeCommand(step: IStepCommand): Promise<boolean>;
export declare function validateCommand(step: IStepCommand): boolean;
export declare function validateFunction(step: IStepFunction): boolean;
export declare function getCurrentOrganization(): OrganizationInfo;
export declare function getOrganizationObject(alias: string, type?: string): OrganizationInfo;
export declare function getTargetOrg(): string;
export declare function getBranchName(): string;
export declare function executeFunction(step: IStepFunction): Promise<boolean>;
export declare function executeShell(command: string): string;
export declare const taskFunctions: {
[s: string]: AnyValue;
};