@k1ssh/qbot
Version:
QBot SDK is a set of APIs for creating and managing microservices, and Kubernetes deployments. This is the core package for QBot AI.
19 lines (18 loc) • 859 B
TypeScript
export declare const ProjectUtils: {
validateProjectDirectories: typeof validateProjectDirectories;
gitInit: typeof gitInit;
gitClone: typeof gitClone;
gitFork: typeof gitFork;
};
/**
* Validate that all needed directories for a project exist and are accessible.
* If they don't exist, create them.
* @param projectName The name of the project to validate directories for
* @returns Promise<void>
* @throws Error if there is an error validating or creating directories
*/
declare function validateProjectDirectories(projectName: string): Promise<void>;
declare function gitInit(projectName: string): Promise<void>;
declare function gitClone(projectName: string, repositoryUrl: string, cloneDir: string): Promise<void>;
declare function gitFork(projectName: string, forkedRepoUrl: string, newOriginUrl: string): Promise<void>;
export {};