mirror of
https://github.com/samsonjs/wordexp.git
synced 2026-03-26 08:55:50 +00:00
11 lines
178 B
Ruby
Executable file
11 lines
178 B
Ruby
Executable file
#!/usr/bin/env ruby -w
|
|
|
|
require 'wordexp'
|
|
|
|
string = ARGV.first
|
|
if string.nil? || string.strip.empty?
|
|
warn 'Usage: wordexp <string>'
|
|
exit 1
|
|
end
|
|
|
|
Wordexp::CLI.new.call(string)
|