UNPKG

@veecode-platform/safira-cli

Version:

Generate a microservice project from your spec.

18 lines (17 loc) 638 B
import { GithubPutContentResponse } from "./github-content-service"; import { GithubCredential } from "../../vkpr/credentials/credentials-dto"; export declare class GithubContentManager { private static _instance; private constructor(); uploadOrUpdateContent(params: GithubContentManagerParams): Promise<GithubPutContentResponse>; static get instance(): GithubContentManager; } export interface GithubContentManagerParams { githubCredential: GithubCredential; ownerAndRepository: string; filePath?: string; fileContent?: string; branch: string; remoteFilePath: string; commitMessage: string; }