packages/LUIS/bin/help.js
function getGeneralHelpContents() {
    let options = {
        head: chalk.bold(`Available actions are:`),
        table: [
            [chalk.cyan.bold("add"), "add a resource"],
            [chalk.cyan.bold("clone"), "clone a resource"],
            [chalk.cyan.bold("delete"), "delete a resource"],
            [chalk.cyan.bold("export"), "export resources"],
            [chalk.cyan.bold("package"), "package resources"],
            [chalk.cyan.bold("get"), "get a resource"],
            [chalk.cyan.bold("import"), "import resources"],
            [chalk.cyan.bold('init'), 'Initializes the .luisrc file with settings specific to your LUIS instance'],
            [chalk.cyan.bold("list"), "list resources"],
            [chalk.cyan.bold("publish"), "publish resource"],
            [chalk.cyan.bold("query"), "query model for prediction"],
            [chalk.cyan.bold("rename"), "change the name of a resource"],
            [chalk.cyan.bold("set"), "change the .luisrc settings"],
            [chalk.cyan.bold("suggest"), "suggest resources"],
            [chalk.cyan.bold("train"), "train resource"],
            [chalk.cyan.bold("update"), "update resources"]
        ]
    };

    let sections = [];
    sections.push(options);
    sections.push(configSection);
    sections.push(globalArgs);
    return sections;
}
function getGeneralHelpContents() {
    let options = {
        head: chalk.bold(`Available actions are:`),
        table: [
            [chalk.cyan.bold("add"), "add a resource"],
            [chalk.cyan.bold("clone"), "clone a resource"],
            [chalk.cyan.bold("delete"), "delete a resource"],
            [chalk.cyan.bold("export"), "export resources"],
            [chalk.cyan.bold("package"), "package resources"],
            [chalk.cyan.bold("get"), "get a resource"],
            [chalk.cyan.bold("import"), "import resources"],
            [chalk.cyan.bold('init'), 'Initializes the .luisrc file with settings specific to your LUIS instance'],
            [chalk.cyan.bold("list"), "list resources"],
            [chalk.cyan.bold("publish"), "publish resource"],
            [chalk.cyan.bold("query"), "query model for prediction"],
            [chalk.cyan.bold("rename"), "change the name of a resource"],
            [chalk.cyan.bold("set"), "change the .luisrc settings"],
            [chalk.cyan.bold("suggest"), "suggest resources"],
            [chalk.cyan.bold("train"), "train resource"],
            [chalk.cyan.bold("update"), "update resources"]
        ]
    };

    let sections = [];
    sections.push(options);
    sections.push(configSection);
    sections.push(globalArgs);
    return sections;
}
function getGeneralHelpContents ( ) { let options = { head : chalk . bold ( ` ` ) , table : [ [ chalk . cyan . bold ( "add" ) , "add a resource" ] , [ chalk . cyan . bold ( "clone" ) , "clone a resource" ] , [ chalk . cyan . bold ( "delete" ) , "delete a resource" ] , [ chalk . cyan . bold ( "export" ) , "export resources" ] , [ chalk . cyan . bold ( "package" ) , "package resources" ] , [ chalk . cyan . bold ( "get" ) , "get a resource" ] , [ chalk . cyan . bold ( "import" ) , "import resources" ] , [ chalk . cyan . bold ( 'init' ) , 'Initializes the .luisrc file with settings specific to your LUIS instance' ] , [ chalk . cyan . bold ( "list" ) , "list resources" ] , [ chalk . cyan . bold ( "publish" ) , "publish resource" ] , [ chalk . cyan . bold ( "query" ) , "query model for prediction" ] , [ chalk . cyan . bold ( "rename" ) , "change the name of a resource" ] , [ chalk . cyan . bold ( "set" ) , "change the .luisrc settings" ] , [ chalk . cyan . bold ( "suggest" ) , "suggest resources" ] , [ chalk . cyan . bold ( "train" ) , "train resource" ] , [ chalk . cyan . bold ( "update" ) , "update resources" ] ] } ; let sections = [ ] ; sections . push ( options ) ; sections . push ( configSection ) ; sections . push ( globalArgs ) ; return sections ; }
General help contents

@returns {*[]}
General help contents