Deno: Suggestion: Add an `--overwrite` option to Deno install command

Created on 7 Feb 2020  路  3Comments  路  Source: denoland/deno

Currently (Deno 0.32.0) manual intervention is required if you run the install command for a previously installed executable. This halts any build tasks that run Deno install until the user presses 'y'.

Most helpful comment

+1 for --force/-f, common enough

All 3 comments

Or 鈥攆orce ? I think it might be better if we remove the interactive prompt and have it fail - requiring the user to provide -f instead

+1 for --force/-f, common enough

Yeah, --force/-f is definitely more Unixy c.f. mv, rm, git push etc.

Was this page helpful?
0 / 5 - 0 ratings