UNPKG
streakingman-cli
Version:
latest (1.13.0)
1.13.0
1.12.0
1.11.0
1.10.1
1.10.0
1.9.2
1.9.1
1.9.0
1.8.5
1.8.4
1.8.3
1.8.2
1.8.1
1.8.0
1.7.1
1.7.0
1.6.3
1.6.2
1.6.1
1.6.0
1.5.9
1.5.8
1.5.7
1.5.6
1.5.5
1.5.4
1.5.3
1.5.2
1.5.1
1.5.0
1.4.1
1.4.0
1.3.3
1.3.2
1.3.1
1.3.0
1.2.0
1.1.1
1.1.0
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
封装了一些常用操作的命令行工具
streakingman-cli
/
actions
/
check-git.ts
8 lines
(7 loc)
•
266 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
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'
)}
`
); };