about summary refs log tree commit homepage
path: root/bin/dtas-ctl
blob: c05dc28748616a619185df7e7efec33c29a9cecb (plain)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env ruby
# -*- encoding: binary -*-
# Copyright (C) 2013, Eric Wong <normalperson@yhbt.net>
# License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt)
require 'dtas/unix_client'

# Unix paths are encoding agnostic
ARGV.map! { |arg| arg.b }
c = DTAS::UNIXClient.new
puts c.req(ARGV)