module
Opal::CLI::Help
Overview
Generates beautifully formatted, styled terminal help screens.
Defined in:
opal/cli/help.crClass Method Summary
-
.render(app_name : String, command_name : String | Nil, description : String, subcommands : Hash(String, Command), options : Array(Option), arguments : Array(Argument), examples : Array(String) = [] of String) : String
Legacy / fallback render method for backward compatibility
-
.render_command(app_name : String, command : Command, context : Context | Nil = nil) : String
Primary entrypoint rendering help for a Command object with all rich metadata
Class Method Detail
def self.render(app_name : String, command_name : String | Nil, description : String, subcommands : Hash(String, Command), options : Array(Option), arguments : Array(Argument), examples : Array(String) = [] of String) : String
#
Legacy / fallback render method for backward compatibility