| Class | Pry::Command::Help |
| In: |
lib/pry/commands/help.rb
|
| Parent: | Pry::ClassCommand |
Display help for a searched item, filtered by group
@param [String] search The string to search for.
Display help for a searched item, filtered first by group and if that fails, filtered by command name.
@param [String] search The string to search for.
Display the index view, with headings and short descriptions per command.
@param [Hash<String, Array<Commands>>] groups
Given a group name and an array of commands, return the help string for those commands.
@param [String] name The group name. @param [Array<Pry::Command>] commands @return [String] The generated help string.
Find a subset of a hash that matches the user‘s search term.
If there‘s an exact match a Hash of one element will be returned, otherwise a sub-Hash with every key that matches the search will be returned.
@param [String] search the search term @param [Hash] hash the hash to search
Sort an array of commands by their `listing` name.
@param [Array<Pry::Command>] commands The commands to sort @return [Array<Pry::Command>] commands sorted by listing name.