Skip to main content
method Command.prototype.addHelpCommand
import { Command } from "https://deno.land/x/license@1.0.3/deps/cmd.ts";

Override default decision whether to add implicit help command.

addHelpCommand() // force on addHelpCommand(false); // force off addHelpCommand('help [cmd]', 'display help for [cmd]'); // force on with custom detais

Parameters

optional
enableOrNameAndArgs: boolean | string
optional
description: string