lib/heirloom/cli/show.rb in heirloom-0.11.0 vs lib/heirloom/cli/show.rb in heirloom-0.11.1

- old
+ new

@@ -2,10 +2,14 @@ module CLI class Show include Heirloom::CLI::Shared + def self.command_summary + 'Show Heirloom' + end + def initialize @opts = read_options @logger = HeirloomLogger.new :log_level => @opts[:level] @config = load_config :logger => @logger, :opts => @opts @@ -45,10 +49,10 @@ def read_options Trollop::options do version Heirloom::VERSION banner <<-EOS -Show Heirloom. +#{Show.command_summary}. Usage: heirloom show -n NAME -i ID