akissa/vagrant-rimu

View on GitHub
lib/vagrant-rimu/commands/move.rb

Summary

Maintainability
A
25 mins
Test Coverage
require 'vagrant-rimu/commands/abstract_command'

module VagrantPlugins
  module Rimu
    module Commands
      class Move < AbstractCommand
        def self.synopsis
          I18n.t('vagrant_rimu.commands.move')
        end

        def cmd(name, argv, env)
          fail Errors::NoArgRequiredForCommand, cmd: name unless argv.size == 0
          env[:machine].action('move')
        end
      end
    end
  end
end