-
Notifications
You must be signed in to change notification settings - Fork 24
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
Subcommand alias feature like 'git config alias.foo bar' #232
Comments
Isn't it enough to add command alias feature like
hmm, if I try to add enable/disable control option, I'll add |
If there was an alias feature, it would be the great, yes. Users can then
modify commands to their liking.
El dom., 8 de abr. de 2018 4:25 PM, Takuya Fujiwara <
[email protected]> escribió:
… Instead of $volt get -u for updating, there could be a separate command
like $volt update
volt get -u guarantees given plugins exist and are updated to the latest
with no error.
it installs if not installed, and updates to the latest.
hmm, isn't it enough to add command alias feature like git config
alias.update get -u?
The $volt get command as of now, downloads and enables the plugins.
hmm, if I try to add enable/diasble control option, I'll add -no-enable
option (don't add specified plugins to current profile).
Because profile feature is optional, user can use it but also can choose
not to use it.
If volt get foo/bar is not enabled (not added to current profile), user
are confused if he/she does not know profile feature.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#232 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AWNIeV_BgYar_0unGQCosFK3edOwf74Oks5tmh3TgaJpZM4TLcFO>
.
|
Okay, I edited the title :) |
I have implemented this feature in devel branch. [alias]
update = ["get", "-u"] And
|
I think the volt commands would be more consistent with following ideas:
Instead of
$volt get -u
for updating, there could be a separate command like$volt update
The
$volt get
command as of now, downloads and enables the plugins. So basically it does the same as the command$volt enable
, but it also downloads the plugin if it doesn't exist. Instead of that, the$volt get
command could just download the plugin without enabling it. But if the user wants to enable it at the same time, he could just write something like$volt get -e <repo>
(-e for enable).what do you think?
The text was updated successfully, but these errors were encountered: