Sha256: a3158d0ecad5a465aee52626e6b8a0feddb865cfb5e9a31f9dae2e0f0b0ceadf
Contents?: true
Size: 473 Bytes
Versions: 6
Compression:
Stored size: 473 Bytes
Contents
# frozen_string_literal: true require 'eac_cli/core_ext' require 'ehbrs/tools/version' module Ehbrs class Runner require_sub __FILE__ runner_with :help, :subcommands do desc 'Tools for EHB/RS.' subcommands alt do bool_opt '-V', '--version', 'Show version.' end end def run if parsed[:version].present? out(::Ehbrs::Tools::VERSION + "\n") else run_with_subcommand end end end end
Version data entries
6 entries across 6 versions & 1 rubygems