Class: Vagrant::Command::NamedBase
- Defined in:
- lib/vagrant/command/named_base.rb
Overview
Same as Base except adds the name
argument for you. This superclass
is useful if you're creating a command which should be able to target
a specific VM in a multi-VM environment. For example, in a multi-VM
environment, vagrant up
"ups" all defined VMs, but you can specify a
name such as vagrant up web
to target only a specific VM. That name
argument is from NamedBase. Of course, you can always add it manually
yourself, as well.
Direct Known Subclasses
DestroyCommand, HaltCommand, PackageCommand, ProvisionCommand, ReloadCommand, ResumeCommand, SSHCommand, SSHConfigCommand, StatusCommand, SuspendCommand, UpCommand
Instance Attribute Summary
Attributes inherited from Base
Method Summary
Methods inherited from Base
Methods included from Helpers
#initialize_environment, #target_vms
Constructor Details
This class inherits a constructor from Vagrant::Command::Base