UNPKG

376 BTypeScriptView Raw
1export interface IGitRemote {
2 name: string;
3 url: string;
4}
5export declare class Git {
6 get remotes(): IGitRemote[];
7 exec(cmd: string): string;
8}
9export declare function configRemote(): string | undefined;
10export interface IGitRemotes {
11 remote: string;
12 app: string;
13}
14export declare function getGitRemotes(onlyRemote: string | undefined): IGitRemotes[];