def command(subcommand, *arguments)
        args = [vagrant, subcommand.to_s, arguments].flatten
        args.map {|a| Shellwords.escape a }.join(' ').tap do |command|
          logger.debug "Generated command '#{command}' from " +
            "subcommand '#{subcommand.to_s}' with arguments " +
            arguments.inspect
        end
      end
def command(subcommand, *arguments)
        args = [vagrant, subcommand.to_s, arguments].flatten
        args.map {|a| Shellwords.escape a }.join(' ').tap do |command|
          logger.debug "Generated command '#{command}' from " +
            "subcommand '#{subcommand.to_s}' with arguments " +
            arguments.inspect
        end
      end
Constructs the command to execute a Vagrant subcommand

   * subcommand: Vagrant subcommand to run (:up, :status, etc.)
   * arguments:  Arguments to pass to the subcommand (optional)