Thinreports::Preview
Thinreports::Preview ia Thinporets Preview Library
Installation
Add this line to your application's Gemfile:
gem 'thinreports-preview', git: "https://github.com/naoto/thnreports-preview.git"And then execute:
$ bundle
Usage
Options
-
-t,--targetis thinreports template. default./template/ -
-o,--outputis pdf output directory. default./generate -
-l,--list_loopis List Loop Count. default1
Execute
$ bundle exec ruby bin/thinreports-preview -t /path/to/file.tlf -o /output/direcitoryLibrary
require 'thnrepornts/preview'
Thinreports::Preview::Generater.new('/path/to/file.tlf').generate('/output/directory')