Sha256: ad8c578b7ce565de732906916df58133af535db9e721772c1913a30cbe1d299a

Contents?: true

Size: 617 Bytes

Versions: 6

Compression:

Stored size: 617 Bytes

Contents

#!/usr/bin/env ruby

require 'wlog/version'
require 'wlog/domain/static_configurations'
require 'wlog/ui/bootstrap'
require 'wlog/ui/cli_interface'

include Wlog
    
if ARGV.size > 0
  case ARGV[0]
  when "--list"
    # TODO FIXME
    CliInterface.list_databases
  when '--where'
    puts StaticConfigurations::DataDirectory
  when '--version', '-v'
    print "wlog "
    puts Wlog::VERSION
  when /--/
    puts "Unknown command."
  else
    # Make overall configurations
    Bootstrap.configure!
    CliInterface.new.run
  end
else
  # Make overall configurations
  Bootstrap.configure!
  CliInterface.new.run
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
wlog-1.2.1 bin/wlog
wlog-1.2.0 bin/wlog
wlog-1.1.7 bin/wlog
wlog-1.1.6 bin/wlog
wlog-1.1.5 bin/wlog
wlog-1.1.1 bin/wlog