Sha256: b967defce439778da1b0a1cfa8ec7058f6af6d435e71d3fb6a1b7d8de0419748

Contents?: true

Size: 788 Bytes

Versions: 14

Compression:

Stored size: 788 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

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

14 entries across 14 versions & 1 rubygems

Version Path
fusuma-1.8.0 exe/fusuma
fusuma-1.7.0 exe/fusuma
fusuma-1.6.0 exe/fusuma
fusuma-1.5.0 exe/fusuma
fusuma-1.4.1 exe/fusuma
fusuma-1.4.0 exe/fusuma
fusuma-1.3.3 exe/fusuma
fusuma-1.3.2 exe/fusuma
fusuma-1.3.1 exe/fusuma
fusuma-1.3.0 exe/fusuma
fusuma-1.2.1 exe/fusuma
fusuma-1.2 exe/fusuma
fusuma-1.1 exe/fusuma
fusuma-1.0 exe/fusuma