11botframework-cli
22================
33
4-
5-
64[ ![ oclif] ( https://img.shields.io/badge/cli-oclif-brightgreen.svg )] ( https://oclif.io )
7- [ ![ Version] ( https://img.shields.io/npm/v/botframework-cli.svg )] ( https://www.npmjs.com/package/@microsoft/botframework-cli )
8- [ ![ Downloads/week ] ( https://img.shields.io/npm/dw/ botframework-cli.svg )] ( https://www.npmjs. com/package/@ microsoft/botframework-cli )
9- [ ![ License] ( https://img.shields.io/npm/l/botframework-cli.svg )] ( https://github.com/microsoft/botframework-cli/blob/master/packages/cli/package.json )
5+ [ ![ Version] ( https://img.shields.io/npm/v/@microsoft/ botframework-cli )] ( https://www.npmjs.com/package/@microsoft/botframework-cli )
6+ [ ![ Downloads] ( https://img.shields.io/npm/dt/@microsoft/ botframework-cli )] ( https://github. com/microsoft/botframework-cli )
7+ [ ![ License] ( https://img.shields.io/npm/l/@microsoft/ botframework-cli )] ( https://github.com/microsoft/botframework-cli/blob/master/packages/cli/package.json )
108
119# Usage
12- <!-- usage -->
10+
1311``` sh-session
1412$ npm install -g @microsoft/botframework-cli
15- $ bf COMMAND
16- running command...
17- $ bf (-v| --version| version)
18- @microsoft/botframework-cli/1.0.0 darwin-x64 node-v12.3.1
19- $ bf --help [COMMAND]
20- USAGE
21- $ bf COMMAND
22- ...
13+
2314```
24- <!-- usagestop -->
15+
2516# Commands
2617<!-- commands -->
2718* [ ` bf ` ] ( #bf- )
3324* [ ` bf config:show:qnamaker ` ] ( #bf-configshowqnamaker )
3425* [ ` bf config:show:telemetry ` ] ( #bf-configshowtelemetry )
3526* [ ` bf help [COMMAND] ` ] ( #bf-help-command )
27+ * [ ` bf luis ` ] ( #bf-luis )
3628* [ ` bf luis:convert ` ] ( #bf-luisconvert )
3729* [ ` bf luis:generate:cs ` ] ( #bf-luisgeneratecs )
3830* [ ` bf luis:generate:ts ` ] ( #bf-luisgeneratets )
@@ -154,6 +146,7 @@ USAGE
154146
155147OPTIONS
156148 -d, --disable Disable tlemetry
149+ -e, --enable Enable tlemetry
157150 -h, --help show CLI help
158151```
159152
@@ -218,6 +211,20 @@ OPTIONS
218211
219212_ See code: [ @oclif/plugin-help ] ( https://github.com/oclif/plugin-help/blob/v2.1.6/src/commands/help.ts ) _
220213
214+ ## ` bf luis `
215+
216+ Convert, translate luis/lu files or generate source code
217+
218+ ```
219+ USAGE
220+ $ bf luis
221+
222+ OPTIONS
223+ -h, --help Display Luis available commnads
224+ ```
225+
226+ _ See code: [ @microsoft/bf-lu ] ( https://github.com/microsoft/botframework-cli/blob/v1.0.0/src/commands/luis/index.ts ) _
227+
221228## ` bf luis:convert `
222229
223230Convert .lu file(s) to a LUIS application JSON model or vice versa
@@ -239,7 +246,7 @@ OPTIONS
239246 --versionid=versionid Version ID of the LUIS application
240247```
241248
242- _ See code: [ @microsoft/bf-luis ] ( https://github.com/microsoft/botframework-cli/blob/v1.0.0/src/commands/luis/convert.ts ) _
249+ _ See code: [ @microsoft/bf-lu ] ( https://github.com/microsoft/botframework-cli/blob/v1.0.0/src/commands/luis/convert.ts ) _
243250
244251## ` bf luis:generate:cs `
245252
@@ -256,7 +263,7 @@ OPTIONS
256263 --out=out Output file or folder name. If not specified stdout will be used as output
257264```
258265
259- _ See code: [ @microsoft/bf-luis ] ( https://github.com/microsoft/botframework-cli/blob/v1.0.0/src/commands/luis/generate/cs.ts ) _
266+ _ See code: [ @microsoft/bf-lu ] ( https://github.com/microsoft/botframework-cli/blob/v1.0.0/src/commands/luis/generate/cs.ts ) _
260267
261268## ` bf luis:generate:ts `
262269
@@ -273,7 +280,7 @@ OPTIONS
273280 --out=out Output file or folder name. If not specified stdout will be used as output
274281```
275282
276- _ See code: [ @microsoft/bf-luis ] ( https://github.com/microsoft/botframework-cli/blob/v1.0.0/src/commands/luis/generate/ts.ts ) _
283+ _ See code: [ @microsoft/bf-lu ] ( https://github.com/microsoft/botframework-cli/blob/v1.0.0/src/commands/luis/generate/ts.ts ) _
277284
278285## ` bf luis:translate `
279286
@@ -284,17 +291,17 @@ USAGE
284291 $ bf luis:translate
285292
286293OPTIONS
287- --in=in (required) Source .lu file(s) or LUIS application JSON model
288- --out=out Output folder name. If not specified stdout will be used as output
289- --recurse Indicates if sub-folders need to be considered to file .lu file(s)
290- --srclang=srclang Source lang code. Auto detect if missing.
291- --tgtlang=tgtlang (required) Comma separated list of target languages.
292- --translate_comments=translate_comments When set, machine translate comments found in .lu file
293- --translate_link_text=translate_link_text When set, machine translate link description in .lu file
294- --translatekey=translatekey (required) Machine translation endpoint key.
294+ --in=in Source .lu file(s) or LUIS application JSON model
295+ --out=out Output folder name. If not specified stdout will be used as output
296+ --recurse Indicates if sub-folders need to be considered to file .lu file(s)
297+ --srclang=srclang Source lang code. Auto detect if missing.
298+ --tgtlang=tgtlang (required) Comma separated list of target languages.
299+ --translate_comments When set, machine translate comments found in .lu file
300+ --translate_link_text When set, machine translate link description in .lu file
301+ --translatekey=translatekey (required) Machine translation endpoint key.
295302```
296303
297- _ See code: [ @microsoft/bf-luis ] ( https://github.com/microsoft/botframework-cli/blob/v1.0.0/src/commands/luis/translate.ts ) _
304+ _ See code: [ @microsoft/bf-lu ] ( https://github.com/microsoft/botframework-cli/blob/v1.0.0/src/commands/luis/translate.ts ) _
298305
299306## ` bf plugins `
300307
@@ -437,15 +444,15 @@ USAGE
437444
438445OPTIONS
439446 --alterations Indicates if files is QnA Alterations
440- --in=in (required) Source .qna file(s) or QnA KB JSON file
447+ --in=in Source .qna file(s) or QnA KB JSON file
441448 --log Enables log messages
442449 --name=name Name of the QnA KB
443450 --out=out Output file or folder name. If not specified stdout will be used as output
444451 --recurse Indicates if sub-folders need to be considered to file .qna file(s)
445452 --sort When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files
446453```
447454
448- _ See code: [ @microsoft/bf-luis ] ( https://github.com/microsoft/botframework-cli/blob/v1.0.0/src/commands/qnamaker/convert.ts ) _
455+ _ See code: [ @microsoft/bf-lu ] ( https://github.com/microsoft/botframework-cli/blob/v1.0.0/src/commands/qnamaker/convert.ts ) _
449456
450457## ` bf qnamaker:create:kb `
451458
@@ -710,23 +717,25 @@ USAGE
710717
711718OPTIONS
712719 -h, --help qnamaker:query command help
720+ --context=context Path to Context object json file with previous QnA
713721
714722 --endpointKey=endpointKey Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user
715- settings page). Overrides the value present in config.
723+ settings page). Overrides the value present in config
716724
717- --hostname=hostname Specifies the url for your private QnA service. Overrides the value present in
718- config.
725+ --hostname=hostname Specifies the url for your private QnA service. Overrides the value present in config
719726
720727 --kbId=kbId Specifies the active qnamaker knowledgebase id. Overrides the value present in the
721728 config
722729
723- --question=question (required) Query to get a prediction for.
730+ --qnaId=qnaId Exact qnaId to fetch from the knowledgebase, this field takes priority over question
731+
732+ --question=question (required) Query to get a prediction for
724733
725734 --scorethreshold=scorethreshold Specifies the confidence score threshold for the returned answer.
726735
727- --strictfilters=strictfilters Path to json file {"strictfilters": MetadataDTO[]}
736+ --strictfilters=strictfilters Path to json file with MetadataDTO[] e.g {"strictfilters": MetadataDTO[]}
728737
729- --test Query against the test index.
738+ --test Query against the test index
730739
731740 --top=top Specifies the number of matching results
732741```
@@ -846,17 +855,17 @@ USAGE
846855 $ bf qnamaker:translate
847856
848857OPTIONS
849- --in=in (required) Source .qna file(s) or QnA maker application JSON model
850- --out=out Output folder name. If not specified stdout will be used as output
851- --recurse Indicates if sub-folders need to be considered to find .qna file(s)
852- --srclang=srclang Source lang code. Auto detect if missing.
853- --tgtlang=tgtlang (required) Comma separated list of target languages.
854- --translate_comments=translate_comments When set, machine translate comments found in .qna file
855- --translate_link_text=translate_link_text When set, machine translate link description in .qna file
856- --translatekey=translatekey (required) Machine translation endpoint key.
858+ --in=in Source .qna file(s) or QnA maker application JSON model
859+ --out=out Output folder name. If not specified stdout will be used as output
860+ --recurse Indicates if sub-folders need to be considered to find .qna file(s)
861+ --srclang=srclang Source lang code. Auto detect if missing.
862+ --tgtlang=tgtlang (required) Comma separated list of target languages.
863+ --translate_comments When set, machine translate comments found in .qna file
864+ --translate_link_text When set, machine translate link description in .qna file
865+ --translatekey=translatekey (required) Machine translation endpoint key.
857866```
858867
859- _ See code: [ @microsoft/bf-luis ] ( https://github.com/microsoft/botframework-cli/blob/v1.0.0/src/commands/qnamaker/translate.ts ) _
868+ _ See code: [ @microsoft/bf-lu ] ( https://github.com/microsoft/botframework-cli/blob/v1.0.0/src/commands/qnamaker/translate.ts ) _
860869
861870## ` bf qnamaker:update `
862871
0 commit comments