MCPcopy Create free account
hub / github.com/formkit/formkit / getGitUser

Function getGitUser

packages/cli/src/utils.ts:33–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31
32// Async function to get the Git user name and email
33export const getGitUser = async () => {
34 const { stdout: name } = await execAsync('git config --get user.name')
35 return name.trim()
36}

Callers 3

customizePackageJsonFunction · 0.90
writeLicenseFunction · 0.90
updateMetaFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected