@builder.io/dev-tools
Version:
Builder.io Visual CMS Devtools
14 lines (13 loc) • 620 B
TypeScript
/**
* Get the GitHub remote URL for a given repository
* @param repoFullName - The full name of the repository (e.g. "BuilderIO/fusion-starter")
* @param githubToken - The GitHub token to use for the remote URL
* @returns The GitHub remote URL
*/
export declare const getGitHubRemoteUrl: ({ repoFullName, githubToken, }: {
repoFullName: string;
githubToken: string | undefined;
}) => string;
export declare const getActiveBranchCommand: () => string;
export declare const getActiveBranch: (cwd?: string) => string;
export declare const getCommandWithShellArgs: (command: string, shell: string) => string[];