#!/usr/bin/env ruby # Copyright (C) 2013-2020 all contributors # License: GPL-3.0+ # frozen_string_literal: true require 'dtas/unix_client' c = DTAS::UNIXClient.new ARGV.each do |path| path = File.expand_path(path) res = c.req_ok(%W(enq #{path})) puts "#{path} #{res}" end