Sha256: df077e76b04ebecde508b8ff91e47e44529ee716eada4b1a798dc22d1533ffa0
Contents?: true
Size: 730 Bytes
Versions: 8
Compression:
Stored size: 730 Bytes
Contents
# frozen_string_literal: true require 'eac_cli/core_ext' require 'ehbrs_ruby_utils/cooking_book/project' module Ehbrs module Tools class Runner class CookingBook require_sub __FILE__ DEFAULT_SOURCE_DIR = '.' runner_with :help, :subcommands do desc 'Operações para livros de receitas.' arg_opt '-C', '--source-dir', 'Caminho para o diretório do código-fonte.' subcommands end private def source_dir_uncached (parsed.source_dir || DEFAULT_SOURCE_DIR).to_pathname.expand_path end def project_uncached ::EhbrsRubyUtils::CookingBook::Project.new(source_dir) end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems