CommandRecord Prototype

Internal.

Syntax

var object = new CommandRecord(name, func, usage, help, label, accesskey, flags, keystr, tip, format);

Arguments

ArgumentSummary
name
func
usage
help
label
accesskey
flags
keystr
tip
format

Remarks

Members

MemberSummary
getDocumentation Returns the command formatted for presentation as part of online documentation.
scanUsage

See Also

Source Code

function CommandRecord(name, func, usage, help, label, accesskey, flags,
keystr, tip, format)
{
this.name = name;
this.func = func;
this._usage = usage;
this.scanUsage();
this.help = help;
this.label = label ? label : name;
this.accesskey = accesskey ? accesskey : "";
this.format = format;
this.labelstr = label.replace ("&", "");
this.tip = tip;
this.flags = flags;
this._enabled = true;
this.keyNodes = new Array();
this.keystr = keystr;
this.uiElements = new Array();
}