class Tocer::CLI::Processors::Build
Handles the Command Line Interface (CLI
) for building of table of contents.
Attributes
runner[R]
Public Class Methods
new(runner: Runner.new)
click to toggle source
# File lib/tocer/cli/processors/build.rb, line 8 def initialize runner: Runner.new @runner = runner end
Public Instance Methods
call(root_dir = ".", configuration = {})
click to toggle source
# File lib/tocer/cli/processors/build.rb, line 12 def call root_dir = ".", configuration = {} runner.call(root_dir: root_dir, **configuration.slice(:label, :includes)) do |path| puts " #{path}" end end