Sha256: c7643722c4b5abbca62f9efccfa3a3b6fbf2dd18d1ac8e3b82540881a4670736
Contents?: true
Size: 617 Bytes
Versions: 16
Compression:
Stored size: 617 Bytes
Contents
module Eco module Common class BaseCLI < MetaThor CUSTOM_HELP_MAPPINGS = ["?", "help"] ALL_HELP_MAPPINGS = Thor::HELP_MAPPINGS + CUSTOM_HELP_MAPPINGS class_option :simulate, type: :boolean, aliases: :s, desc: "do not launch updates or rewrite files" #class_option :verbosity, type: :numeric, default: 0, desc: "defines the level of verbosity to show feedback" class << self def start(given_args = ARGV, config = {}) super(given_args, config) end end protected no_commands do end end end end
Version data entries
16 entries across 16 versions & 1 rubygems