@push.rocks/projectinfo
Version:
gather information about projects. supports npm, git etc.
17 lines (16 loc) • 357 B
TypeScript
export declare class ProjectinfoGit {
isGit: boolean;
githost: string;
gituser: string;
gitrepo: string;
cwd: string;
constructor(cwdArg: string);
/**
* get git info from path
*/
getGitInfoFromPath(): void;
/**
* get git info from remote url
*/
getGitInfoFromRemote(remoteUrlArg: string): void;
}