Sha256: b4f168bb258945b79d1e58ee6b980e2f0d189c82695905380c9746670083b24d

Contents?: true

Size: 618 Bytes

Versions: 35

Compression:

Stored size: 618 Bytes

Contents

module Veewee
  module Command
    # 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.
    class NamedBase < Base
      argument :name, :type => :string, :optional => true
    end
  end
end

Version data entries

35 entries across 35 versions & 2 rubygems

Version Path
veewee-0.5.0.alpha4 lib/veewee/command/named_base.rb
veewee-0.5.0.alpha3 lib/veewee/command/named_base.rb
veewee-0.5.0.alpha2 lib/veewee/command/named_base.rb
veewee-0.5.0.alpha1 lib/veewee/command/named_base.rb
veewee-0.4.5.1 lib/veewee/command/named_base.rb
veewee-0.4.5 lib/veewee/command/named_base.rb
veewee-0.4.5.pre1 lib/veewee/command/named_base.rb
veewee-0.4.4 lib/veewee/command/named_base.rb
veewee-0.4.3 lib/veewee/command/named_base.rb
veewee-0.4.2 lib/veewee/command/named_base.rb
veewee-0.4.1 lib/veewee/command/named_base.rb
veewee-0.4.0 lib/veewee/command/named_base.rb
veewee-0.3.12 lib/veewee/command/named_base.rb
veewee-0.3.11 lib/veewee/command/named_base.rb
veewee-0.3.10 lib/veewee/command/named_base.rb
veewee-0.3.9 lib/veewee/command/named_base.rb
veewee-atlassian-0.3.11 lib/veewee/command/named_base.rb
veewee-0.3.7 lib/veewee/command/named_base.rb
veewee-0.3.6 lib/veewee/command/named_base.rb
veewee-0.3.5 lib/veewee/command/named_base.rb