Repository navigation
Subcommand alias feature like 'git config alias.foo bar' #232
Description
Activity
Instead of $volt get -u for updating, there could be a separate command like $volt update
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?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-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.
Ifvolt 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.- 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> .
- changed the title
[-]More consistent volt commands?[/-][+]Subcommand alias feature like 'git config alias.foo bar'[/+]on Apr 8, 2018 Okay, I edited the title :)
- added a commit that references this issue
on Apr 9, 2018 I have implemented this feature in devel branch.
You can write the following to config.toml:[alias] update = ["get", "-u"]
And
$ volt update foo/bar.vim- added a commit that references this issue
on Apr 9, 2018 - added a commit that references this issue
on Oct 26, 2018
I think the volt commands would be more consistent with following ideas:
Instead of
$volt get -ufor updating, there could be a separate command like$volt updateThe
$volt getcommand 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 getcommand 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?