Sha256: eaccbf120cc272d2b9cf5423c41bcaada9e8945c77a7e06dd3f21581a622f8ad
Contents?: true
Size: 752 Bytes
Versions: 1
Compression:
Stored size: 752 Bytes
Contents
#!/usr/bin/env ruby require 'optparse' require_relative '../lib/fusuma' option = {} opt = OptionParser.new opt.on('-c', '--config=path/to/file', 'Use an alternative config file') do |v| option[:config_path] = v end opt.on('-d', '--daemon', 'Daemonize process') do |v| option[:daemon] = v end opt.on('-l', '--list-devices', 'List available devices') do |v| option[:list] = v end opt.on('--device=event14', 'Open the given device only') do |v| option[:device] = v end opt.on('-v', '--verbose', 'Show details about the results of running fusuma') do |v| option[:verbose] = v end opt.on('--version', 'Show fusuma version') do |v| option[:version] = v end opt.parse!(ARGV) Fusuma::Runner.run(option)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fusuma-0.8.0 | exe/fusuma |