@catladder/cli
Version:
Panter cli tool for cloud CI/CD and DevOps
10 lines (9 loc) • 428 B
TypeScript
export type GitLocationScope = "global" | "local" | "system" | "worktree";
export type GitConfigOptions = {
location?: GitLocationScope;
comment?: string;
};
export declare function gitConfigGet(key: string, { location }?: Pick<GitConfigOptions, "location">): Promise<string>;
export declare const gitConfigSet: (key: string, value: string, { location, comment }?: GitConfigOptions) => Promise<{
stdout: string;
}>;