Sha256: d2e8076f36b04675107b8d3d4bb960734fabc64697cf6e8267c06437ede82bf1
Contents?: true
Size: 479 Bytes
Versions: 56
Compression:
Stored size: 479 Bytes
Contents
module Vagrant module Command class InitCommand < Base argument :box_name, :type => :string, :optional => true, :default => "base" argument :box_url, :type => :string, :optional => true source_root File.expand_path("templates/commands/init", Vagrant.source_root) register "init [box_name] [box_url]", "Initializes the current folder for Vagrant usage" def execute template "Vagrantfile.erb", "Vagrantfile" end end end end
Version data entries
56 entries across 56 versions & 5 rubygems