@reliverse/rse-sdk
Version:
@reliverse/rse-sdk allows you to create new plugins for @reliverse/rse CLI, interact with reliverse.org, and even extend your own CLI functionality (you may also try @reliverse/dler-sdk for this case).
9 lines (8 loc) • 547 B
TypeScript
import type { RseConfig } from "@reliverse/cfg";
import { type InstanceGithub } from "../../../../utils/instanceGithub.js";
export declare function checkGithubRepoOwnership(githubInstance: InstanceGithub, owner: string, repo: string): Promise<{
exists: boolean;
isOwner: boolean;
defaultBranch?: string;
}>;
export declare function createGithubRepo(githubInstance: InstanceGithub, repoName: string, repoOwner: string, projectPath: string, isDev: boolean, cwd: string, config: RseConfig, isTemplateDownload: boolean): Promise<boolean>;