module

Opal::CLI::Help

Generates beautifully formatted, styled terminal help screens.

Class methods

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

Source
render_command(app_name : String, command : Command, context : Context | Nil = nil) : String

Primary entrypoint rendering help for a Command object with all rich metadata

Source