@heroku-cli/command
Version:
base class for Heroku CLI commands
15 lines (14 loc) • 376 B
TypeScript
export interface IGitRemote {
name: string;
url: string;
}
export declare class Git {
get remotes(): IGitRemote[];
exec(cmd: string): string;
}
export declare function configRemote(): string | undefined;
export interface IGitRemotes {
app: string;
remote: string;
}
export declare function getGitRemotes(onlyRemote: string | undefined): IGitRemotes[];