fsprojects/ProjectScaffold

Get project defaults from git config

Opened this issue · 2 comments

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
juergen@archlinux.org

so you don't have to enter them every time you create a new project.

forki commented

Cool. Are you going to send a PR?
On Apr 9, 2016 13:55, "Jürgen Hötzel" notifications@github.com 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
juergen@archlinux.org

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
#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
番牥敧䁮牡档楬畮⹸牯੧

fsprojects/FAKE#1212 fixes the issue. Would you mind releasing a new FAKE package, so I can implement this?