Sha256: c8f63223ceb868776f19b3e5f56390c0719c1d9429feaaba9561de625868a19a
Contents?: true
Size: 540 Bytes
Versions: 8
Compression:
Stored size: 540 Bytes
Contents
# frozen_string_literal: true require 'thor' require 'headdesk' require 'awesome_print' Dir[File.dirname(__FILE__) + '/cli_commands/*.rb'].each { |file| require file } module Headdesk # # headdesk CLI # class CLI < Thor no_commands do # :reek:UtilityFunction def print_update_message(stream = STDERR) stream.puts "Latest version is #{Headdesk::Versions.latest_version}, please run 'bundle update headdesk'".red end end Headdesk::CliCommand.each do |cmd| include cmd end end end
Version data entries
8 entries across 8 versions & 1 rubygems