@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) • 451 B
TypeScript
/**
* Checks if the given directory is a git repository
*/
export declare function isDirHasGit(cwd: string, isDev: boolean, projectName: string, projectPath: string): Promise<boolean>;
/**
* Sets up a remote for an existing local git repository and pushes the initial commit
*/
export declare function setupGitRemote(cwd: string, isDev: boolean, projectName: string, projectPath: string, remoteUrl: string, remoteName?: string): Promise<boolean>;