ProjectScaffold
ProjectScaffold copied to clipboard
Get project defaults from git config
It would be nice if promptFor would provide some defaults based the users git configuration:
→ git config --get user.name Juergen Hoetzel → git config --get user.email [email protected]
so you don't have to enter them every time you create a new project.
Cool. Are you going to send a PR? On Apr 9, 2016 13:55, "Jürgen Hötzel" [email protected] wrote:
It would be nice if promptFor would provide some defaults based the users git configuration:
→ git config --get user.name Juergen Hoetzel → git config --get user.email [email protected]
so you don't have to enter them every time you create a new project.
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/fsprojects/ProjectScaffold/issues/245
Easy to implement using Fake.Git.CommandHelper. But I ran into an encoding issue in FAKE when using runGitCommand:
git config --get user.email
番牥敧䁮牡档楬畮牯੧
https://github.com/fsharp/FAKE/pull/1212 fixes the issue. Would you mind releasing a new FAKE package, so I can implement this?