Sha256: b69a3ac7c99441e94820f74c42fb280babcd3350ea396300ce88f8e7e2424be5
Contents?: true
Size: 758 Bytes
Versions: 7
Compression:
Stored size: 758 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="Device name"', '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
7 entries across 7 versions & 1 rubygems
Version | Path |
---|---|
fusuma-0.11.1 | exe/fusuma |
fusuma-0.11.0 | exe/fusuma |
fusuma-0.10.2 | exe/fusuma |
fusuma-0.10.1 | exe/fusuma |
fusuma-0.9.2 | exe/fusuma |
fusuma-0.9.1 | exe/fusuma |
fusuma-0.9.0 | exe/fusuma |