Sha256: 22f3f7761356f81a03698488506baa43b176853400a3206bcf0cd3a2cc948ddf
Contents?: true
Size: 533 Bytes
Versions: 2
Compression:
Stored size: 533 Bytes
Contents
require 'wlog/commands/innit_db' require 'wlog/ui/setup_wizard' require 'wlog/domain/helpers' module Wlog # This takes care of initialization. Place this class between the main entry # point of the application and, the first transaction you require. # @author Simon Symeonidis class Bootstrap # make $HOME/.config/wlog standard dirs, and pull up database def self.configure! Helpers.make_dirs! InnitDb.new.execute # Initial setup if first time running SetupWizard.new.run if Helpers.first_setup? end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
wlog-1.2.1 | lib/wlog/ui/bootstrap.rb |
wlog-1.2.0 | lib/wlog/ui/bootstrap.rb |