You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Subcommand alias feature like 'git config alias.foo bar' #232
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).
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 it's not installed, or updates to the latest if it's installed.
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/disable 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 does not enable (does not add to current profile) given plugins by default, the user is confused if he/she does not know profile feature.
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>
.
Activity
tyru commentedon Apr 8, 2018
volt get -uguarantees given plugins exist and are updated to the latest with no error.It installs if it's not installed, or updates to the latest if it's installed.
Isn't it enough to add command alias feature like
git config alias.update get -u?hmm, if I try to add enable/disable control option, I'll add
-no-enableoption (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/bardoes not enable (does not add to current profile) given plugins by default, the user is confused if he/she does not know profile feature.AvianY commentedon Apr 8, 2018
[-]More consistent volt commands?[/-][+]Subcommand alias feature like 'git config alias.foo bar'[/+]tyru commentedon Apr 8, 2018
Okay, I edited the title :)
feat: add command alias feature (fix #232)
tyru commentedon Apr 9, 2018
I have implemented this feature in devel branch.
You can write the following to config.toml:
And
feat: add command alias feature (fix #232)
doc: write about subcommand alias feature (#232)