Sha256: 1531fae7123ec110c24cc44d047ea7aed87248b0b4611301f9839aa4af4cd861

Contents?: true

Size: 482 Bytes

Versions: 1

Compression:

Stored size: 482 Bytes

Contents

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

require 'bundler/setup'
require 'bhook'

puts "Bhook version #{Bhook::VERSION}"
args = Bhook::ArgsParser.new(ARGV).parse

if args.verbose
  Bhook::L.level = Logger::DEBUG
else
  Bhook::L.level = Logger::INFO
end

if args.generate_theme
  Bhook::ThemeGenerator.new(args.generate_theme).generate!
  exit
end  

workspace = Bhook::Workspace.new(args.source, args.output, args.theme)
args.watch ? workspace.watch! : workspace.process!

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bhook-0.1.2 bin/bhook