Sha256: 2453babea2f4e57ee14980392668fac771a389c1ea8d8a0ba9fb67bdae6a0969
Contents?: true
Size: 357 Bytes
Versions: 3
Compression:
Stored size: 357 Bytes
Contents
class Freighthop::CLI::Vagrant COMMANDS = %w[ up halt destroy provision reload status ] def self.match?(*args) COMMANDS.include?(args.first) end def initialize(*args) @subcommand, @rest = args end def args ([*@rest] || []).join(' ') end def run exec %Q(vagrant #{@subcommand} #{args}) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
freighthop-0.2.1 | lib/freighthop/cli/vagrant.rb |
freighthop-0.2.0 | lib/freighthop/cli/vagrant.rb |
freighthop-0.1.0 | lib/freighthop/cli/vagrant.rb |