Skip to content

Persist localStorage wihout --location when upgrading installed scripts? #14616

Answered by nayeemrmn
ekmwest asked this question in Q&A
Discussion options

You must be logged in to vote

It's not possible, this is an intended use of --location. It's not considered too much of a burden to specify it because deno install commands are typically copy-pasted from your project README once* and it won't have to be specified by your users beyond that.

*Well, more than once if we consider upgrades. Some installed programs provide an upgrade subcommand which does this for you, e.g. https://github.com/denoland/deployctl/blob/eb9f6f71747443b9dbd074d2c417e7e94df576be/src/subcommands/upgrade.ts.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ekmwest
Comment options

Answer selected by ekmwest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants