Sha256: 4a04ec1a00b0996147a2069ca4c55f46055f02e4f0e6311fecd08fda5042d6ff

Contents?: true

Size: 686 Bytes

Versions: 2

Compression:

Stored size: 686 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 |config_path|
    option[:config_path] = config_path
  end

  opt.on('-d',
         '--daemon',
         'Daemonize process') do |daemon|
    option[:daemon] = daemon
  end

  opt.on('-v',
         '--verbose',
         'Show details about the results of running fusuma') do |verbose|
    option[:verbose] = verbose
  end

  opt.on('--version',
         'Show fusuma version') do |version|
    option[:version] = version
  end

  opt.parse!(ARGV)
end

Fusuma::Runner.run(option)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fusuma-0.7.2 exe/fusuma
fusuma-0.7.1 exe/fusuma