Sha256: 95e691dd80485acac63a2a236e2f3859711d8fbd153721f8a08a7194147a9c9d
Contents?: true
Size: 799 Bytes
Versions: 2
Compression:
Stored size: 799 Bytes
Contents
require 'thor' module Vim module Flavor class CLI < Thor desc 'install', 'Install Vim plugins according to VimFlavor file.' method_option :vimfiles_path, :desc => 'A path to your vimfiles directory.' def install() facade = Facade.new() facade.traced = true facade.install( options[:vimfiles_path] || facade.get_default_vimfiles_path() ) end desc 'upgrade', 'Upgrade Vim plugins according to VimFlavor file.' method_option :vimfiles_path, :desc => 'A path to your vimfiles directory.' def upgrade() facade = Facade.new() facade.traced = true facade.upgrade( options[:vimfiles_path] || facade.get_default_vimfiles_path() ) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vim-flavor-0.0.4 | lib/vim-flavor/cli.rb |
vim-flavor-0.0.3 | lib/vim-flavor/cli.rb |