git-command-helper
Version:
github command helper for nodejs
9 lines (8 loc) • 327 B
TypeScript
import { ExtendedSpawnOptions } from "./infoOptions";
/**
* get origin url
* * see {@link https://stackoverflow.com/a/4090938}
* @param name remote name in config, default `origin`
* @returns
*/
export declare function getGithubRemote(name?: string | null | undefined, opt?: ExtendedSpawnOptions): Promise<string | void>;