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_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



22
23
24
# File 'lib/bundler/cli/plugin.rb', line 22

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

#listObject



37
38
39
# File 'lib/bundler/cli/plugin.rb', line 37

def list
  Bundler::Plugin.list
end

#uninstall(*plugins) ⇒ Object



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

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