Skip to content

'stack upload' should require confirmation before uploading #439

@borsboom

Description

@borsboom

I was originally going to title this "'stack upload' should be harder to use."

Uploading a package to hackage is irrevocable and it's a too easy now to accidentally upload without intending to do so (which I did in the last stack release, so now there's a weird version of stack on Hackage that can't be deleted). stack upload could default to just telling you what it would do plus a message saying something like "use stack upload -y to actually upload". Alternatively, it could prompt the user interactively, and also provide a -y option to have it skip the prompt.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions