@tianyio/quality-helper
Version:
A comprehensive quality helper tool for project scaffolding and management
19 lines (18 loc) • 381 B
TypeScript
/**
* Git 命令执行结果接口
*/
export interface GitCommandResult {
success: boolean;
output: string;
error?: string;
}
/**
* 执行 Git 命令的安全包装器
*/
export declare class GitService {
static execCommand(command: string): GitCommandResult;
/**
* 获取所有 Git 信息
*/
static getAllGitInfo(): Record<string, string>;
}