class Vagrant::OptionParser

This is a customized OptionParser for Vagrant plugins. It will automatically add any default CLI options defined outside of command implementations to the local option parser instances in use

Private Class Methods

new(*_) click to toggle source
Calls superclass method
# File lib/vagrant.rb, line 26
def initialize(*_)
  super
  Vagrant.default_cli_options.each do |opt_proc|
    opt_proc.call(self)
  end
end