lib/heirloom/cli/list.rb in heirloom-0.11.0 vs lib/heirloom/cli/list.rb in heirloom-0.11.1
- old
+ new
@@ -2,10 +2,14 @@
module CLI
class List
include Heirloom::CLI::Shared
+ def self.command_summary
+ 'List Heirloom IDs'
+ end
+
def initialize
@opts = read_options
@logger = HeirloomLogger.new :log_level => @opts[:level]
@config = load_config :logger => @logger,
:opts => @opts
@@ -36,10 +40,10 @@
def read_options
Trollop::options do
version Heirloom::VERSION
banner <<-EOS
-List Heirloom IDs.
+#{List.command_summary}.
Usage:
heirloom list -n NAME