You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 15, 2025. It is now read-only.
add --force and --log arg for cross-train cli (#847)
* add --force and --log arg for cross-train cli
* support --force and --log for qnamaker:cross-train
* fix tslint
Co-authored-by: Vishwac Sena Kannan <[email protected]>
* @param {string} input full path of input lu and qna files folder.
31
29
* @param {string} intentName interruption intent name. Default value is _Interruption.
32
30
* @param {string} config path to config of mapping rules or mapping rules json content itself. If undefined, it will read config.json from input folder.
31
+
* @param {boolean} verbose verbose to indicate whether log warnings and errors or not when parsing cross-train files.
33
32
* @returns {luResult: any, qnaResult: any} trainedResult of luResult and qnaResult or undefined if no results.
in: flags.string({char: 'i',description: 'source lu and qna files folder'}),
17
-
out: flags.string({char: 'o',description: 'output folder name. If not specified, the cross trained files will be written to cross-trained folder under folder of current command'}),
18
-
config: flags.string({description: 'path to config file of mapping rules'}),
in: flags.string({char: 'i',description: 'Source lu and qna files folder'}),
18
+
out: flags.string({char: 'o',description: 'Output folder name. If not specified, the cross trained files will be written to cross-trained folder under folder of current command'}),
19
+
config: flags.string({description: 'Path to config file of mapping rules'}),
rootDialog: flags.string({description: 'rootDialog file path. If --config not specified, cross-trian will automatically construct the config from file system based on root dialog file'})
21
+
rootDialog: flags.string({description: 'RootDialog file path. If --config not specified, cross-trian will automatically construct the config from file system based on root dialog file'}),
22
+
force: flags.boolean({char: 'f',description: 'If --out flag is provided with the path to an existing file, overwrites that file',default: false}),
23
+
log: flags.boolean({description: 'Write out log messages to console',default: false})
0 commit comments