You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the past, interactive stack newwas discussed. I'm opening this issue to track adding an interactive prompt for template parameters. Leaving the prompts empty and just pressing enter should select a default value.
Additionally, an excellent suggestion comes from wcauchois, which is to attempt to get name / email info from git. If this info is available, use it as a default in the interactive prompt.
The text was updated successfully, but these errors were encountered:
Do we only want NewOpts interactively? Or would it be appropriate to also get InitOpts?
Where should the interactive code live? It feels natural for it to go in Stack.New. If other commands do interaction (and it seems like there have been discussions to that effect) the actual interaction helper functions should probably be separate. A module like that doesn't already exist, right?
I was looking over Cabal's init implementation, and was thinking about taking it in that direction if that seems reasonable.
Where should the interactive code live? It feels natural for it to go in Stack.New. If other commands do interaction (and it seems like there have been discussions to that effect) the actual interaction helper functions should probably be separate. A module like that doesn't already exist, right?
In the past, interactive
stack new
was discussed. I'm opening this issue to track adding an interactive prompt for template parameters. Leaving the prompts empty and just pressing enter should select a default value.Additionally, an excellent suggestion comes from wcauchois, which is to attempt to get name / email info from git. If this info is available, use it as a default in the interactive prompt.
The text was updated successfully, but these errors were encountered: