New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
installer: add uninstall subcommand in Rust #3850
installer: add uninstall subcommand in Rust #3850
Conversation
efa7320
to
f9fe477
Compare
f9fe477
to
b4273bf
Compare
It's a little annoying to have a whole separate subcommand for a niche functionality related to "deno install". I wonder if "deno install --uninstall" wouldn't be better? That doesn't read very nicely, but I think it makes more sense. We could rename "deno install" to something else. Maybe "deno bookmark". Then you would have "deno bookmark https://foo/bar.js" and "deno bookmark --delete https://foo/bar.js" ? Not sure about that either. Just thinking outloud. |
@ry IMHO to have a flag that reverts the behavior of a command is just SO confusing for the users... the code for (I know there are commands like Also having a separate command, we can have some clearer behavior like uninstalling multiple command if provided more than one argument, as I have implemented here. The flag makes sense under more generic subcommand names like |
I've always thought |
I'd agree that |
How about just
I also have problem with |
It would be cool to use "deno bundle" to install programs. On mac/linux we can use shebang to eliminate the shell script entirely. |
@ry I am actually thinking about something like A minor problem with shebang is that while Maybe I can create a subdirectory under installation direction to save all the bundled files there, and still use a basic shell/batch wrapper to invoke them. |
Thanks for the patch @kevinkassimo but seems it superfluous to have another subcommand/flag for something so trivial when you can just |
Continuation of #3804 , now in Rust.