Sha256: 0130bbf1d82e0cb31d4338c327e5ec87e40e1cbe8dd303e90f14d83d60de4ce3
Contents?: true
Size: 709 Bytes
Versions: 8
Compression:
Stored size: 709 Bytes
Contents
# frozen_string_literal: true require 'eac_ruby_utils/core_ext' require 'eac_ruby_utils/console/docopt_runner' require 'ehbrs/tools/version' module Ehbrs class Runner < ::EacRubyUtils::Console::DocoptRunner require_sub __FILE__ enable_console_speaker DOC = <<~DOCOPT Tools for EHB/RS. Usage: __PROGRAM__ [options] __SUBCOMMANDS__ __PROGRAM__ --version __PROGRAM__ -h | --help Options: -h --help Show this screen. -V --version Show version. DOCOPT def run if options.fetch('--version') out(::Ehbrs::Tools::VERSION + "\n") else run_with_subcommand end end end end
Version data entries
8 entries across 8 versions & 1 rubygems