class Fission::CommandLineParser
def commands_help
@cli.commands_help
Examples
Internal: Provides the help of all of the known commands.
def commands_help longest_cmd = @commands.inject do |longest, cmd_name| longest.length > cmd_name.length ? longest : cmd_name end ui.output "\nCommands:" Hash[@command_names_and_summaries.sort].each_pair do |name, summary| ui.output_printf "%-#{longest_cmd.length}s %s\n", name, summary end end