vfox
vfox copied to clipboard
[Feature]: To clear the environment variables
1. Your usage scenarios?
Clear one or all plugin paths introduced by vfox from the $Path environment variable.
2. What is your expected outcome?
vfox disable zig
vfox disable -a/--all
vfox disable zig vfox disable -a/--all
I think vfox unuse command is better.
vfox unuse zig@version
vfox unuse zig
vfox unuse --all
vfox disable zig vfox disable -a/--allI think
vfox unusecommand is better.vfox unuse zig@version vfox unuse zig vfox unuse --all
Well, it's easy to understand, but there is no such a verb😂
Well, it's easy to understand, but there is no such a verb😂
Indeed 😂, But disable is not very appropriate. It can be easily understood as disabling plugins.
If we must use a verb, let's just use clear to clear the environment variables of the specified runtime.
vfox clear zig@version
vfox clear zig
vfox clear --all
WDYT?
Well, it's easy to understand, but there is no such a verb😂
Indeed 😂, But
disableis not very appropriate. It can be easily understood as disabling plugins.If we must use a verb, let's just use
clearto clear the environment variables of the specified runtime.vfox clear zig@version vfox clear zig vfox clear --allWDYT?
It's ok.
What do you think @version should do to users? Maybe it should be ignored.
I think the word free being quite fitting. @aooohan
vfox free zig
vfox free -a/--all
What do you think @version should do to users? Maybe it should be ignored.
Indeed. Runtime name is enough.
I think the word free being quite fitting.
Hmm. From my view, clear is more intuitive.
By the way, we also need to support scopes, like use command.
vfox clear/free --porject zig
vfox clear/free --global zig
vfox clear/free --session zig # Default
+1 for clear ;)