Skip to content
This repository has been archived by the owner on Aug 23, 2018. It is now read-only.

Ask Before Creating an elm-package.json file #2

Closed
maxsnew opened this issue Dec 7, 2014 · 3 comments
Closed

Ask Before Creating an elm-package.json file #2

maxsnew opened this issue Dec 7, 2014 · 3 comments

Comments

@maxsnew
Copy link

maxsnew commented Dec 7, 2014

The current behavior is bad because it doesn't tell the user it's going to create a file and the user may have input the command in error.

The interaction should be

1. Inform the user they don't have an elm-package.json and they need one to use elm-make
2. Ask if they want to make one
3. If yes, either interactively build one or tell them you put a default one in
4. Exit the program

the user can then fill it in and then install things the second time.

@mgold
Copy link
Contributor

mgold commented Dec 13, 2014

+1, it felt very weird to say no to an install but have something created anyway.

@dynajoe
Copy link

dynajoe commented Mar 5, 2016

+1 I'm tired of mistakenly creating elm-stuff and elm-package.json

@evancz
Copy link
Contributor

evancz commented May 12, 2016

Tracked in #98

@evancz evancz closed this as completed May 12, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants