@catladder/cli
Version:
Panter cli tool for cloud CI/CD and DevOps
17 lines (16 loc) • 475 B
TypeScript
/**
* Find the absolute path of the current git project root.
*/
export declare const getProjectRootPath: () => Promise<string>;
/**
* Get the git remote hostname and project path from the git config.
*/
export declare const getGitRemoteHostAndPath: () => Promise<{
gitRemoteHost: string;
gitRemotePath: string;
}>;
export declare const gitProjectInformation: () => Promise<{
gitRemoteHost: string;
gitRemotePath: string;
projectRootPath: string;
}>;