Sha256: 866ab963590ffece9cf2921cf23ceb1db4d7d12a4377cf14b6443be1fa6c8257
Contents?: true
Size: 478 Bytes
Versions: 16
Compression:
Stored size: 478 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
16 entries across 16 versions & 1 rubygems