UNPKG

streakingman-cli

Version:

封装了一些常用操作的命令行工具

8 lines (7 loc) 266 B
import { execSync } from 'child_process'; export const checkGit: () => void = () => { console.log( `git config user.name ${execSync('git config user.name')}`.trim() ); console.log(`git config user.email ${execSync('git config user.email')}`); };