const { execSync } = require('child_process');
const chalk = require('chalk');
exports.execGitCommand = (command) => {
    try {
        execSync(command);
        console.log(chalk.green(`${command} 执行成功`));
    } catch (error) {
        console.error(chalk.red(`执行出错: ${error}`));
    }
}