Sha256: 6b41aaa17d204c6c07564a8992fba190cb96dbc6d09d786dc6a763049ae807a5

Contents?: true

Size: 356 Bytes

Versions: 3

Compression:

Stored size: 356 Bytes

Contents

include Boot::Lib::Core

module Boot::Lib::Commands
  options_obj = Slop::Options.new

  Help = SubCommand.new(
    'help', # Name of the command
    'Print the help message', # Description
    options_obj, # Has no options
    false
  ) do |_options, _args|
    Boot.sub_commands.each do |_key, cmd|
      cmd.print_help_message
    end
  end
  @Help
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
boot-cli-1.0.0 lib/Boot/Lib/Commands/Help.rb
boot-cli-0.3.1 lib/Boot/Lib/Commands/Help.rb
boot-cli-0.3.0 lib/Boot/Lib/Commands/Help.rb