Class: Bundler::CLI::Plugin

Inherits:
Thor
  • Object
show all
Defined in:
lib/bundler/cli/plugin.rb

Constant Summary

Constants inherited from Thor

Thor::AmbiguousTaskError, Thor::Correctable, Thor::DynamicTask, Thor::HELP_MAPPINGS, Thor::HiddenTask, Thor::TEMPLATE_EXTNAME, Thor::THOR_RESERVED_WORDS, Thor::Task, Thor::UndefinedTaskError, Thor::VERSION

Instance Attribute Summary

Attributes included from Thor::Base

#args, #options, #parent_options

Instance Method Summary collapse

Methods inherited from Thor

check_unknown_options!, check_unknown_options?, command_help, default_command, deprecation_warning, desc, disable_required_check!, disable_required_check?, help, #help, long_desc, map, method_at_least_one, method_exclusive, method_option, method_options, package_name, printable_commands, register, stop_on_unknown_option!, stop_on_unknown_option?, subcommand, subcommand_classes, subcommands

Methods included from Thor::Base

included, #initialize, register_klass_file, subclass_files, subclasses

Instance Method Details

#install(*plugins) ⇒ Object



17
18
19
# File 'lib/bundler/cli/plugin.rb', line 17

def install(*plugins)
  Bundler::Plugin.install(plugins, options)
end

#listObject



31
32
33
# File 'lib/bundler/cli/plugin.rb', line 31

def list
  Bundler::Plugin.list
end

#uninstall(*plugins) ⇒ Object



26
27
28
# File 'lib/bundler/cli/plugin.rb', line 26

def uninstall(*plugins)
  Bundler::Plugin.uninstall(plugins, options)
end