namespace :packer do
  namespace :vars do
    desc 'Create Local Packer Folders'
    task :create_folders do
      Orchestrator::ConsoleOutputs.header
      Orchestrator::ConsoleOutputs.sub_header_item('Creating Local Packer Folders', $project_vars['terraform']['workspace'])
      Orchestrator::Packer::Vars.create_folders
    end

    desc 'Display Local Packer Version'
    task :local_version do
      Orchestrator::ConsoleOutputs.sub_header('Local Packer Version')
      version = Orchestrator::Packer::Vars.local_version
      Orchestrator::ConsoleOutputs.message_item('Packer', "v#{version}")
    end
  end
end
