How to use @oclif/plugin-help

Comprehensive @oclif/plugin-help code examples:

How to use @oclif/plugin-help.default:

141
142
143
144
145
146
147
148
149
150
    logger_1.default.error(`ErrorID: ${errorReport.metadata.errorId}`);
    process.exit(1);
};
async function default_1(options) {
    // overwrite Help#showCommandHelp to customize help formating
    plugin_help_1.default.prototype.showCommandHelp = function (command, topics) {
        const name = command.id;
        const depth = name.split(':').length;
        topics = topics.filter(t => t.name.startsWith(`${name}:`) && t.name.split(':').length === depth + 1);
        const title = command.description && this.render(command.description).split('\n')[0];