Sha256: 27e882c82ff546a88cf5ecea82462977d692e05799d498e2e03020e7599ddd83
Contents?: true
Size: 535 Bytes
Versions: 1
Compression:
Stored size: 535 Bytes
Contents
#!/usr/bin/env ruby require 'optparse' require_relative '../lib/fusuma' option = {} OptionParser.new do |opt| opt.on('-c', '--config=path/to/file', 'Use an alternative config file') do |c| option[:config] = c end opt.on('-d', '--daemon', 'Daemonize process') do |d| option[:daemon] = d end opt.on('-v', '--verbose', 'Shows details about the results of running fusuma') do |v| option[:verbose] = v end opt.parse!(ARGV) end Fusuma::Runner.run(option)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fusuma-0.5.0 | exe/fusuma |