@@ -4,22 +4,15 @@ botframework-cli
44
55
66[ ![ 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 )
7+ [ ![ Version] ( https://img.shields.io/npm/v/botframework-cli.svg )] (![ npm (scoped) ] ( https://img.shields.io/npm/v/ @microsoft/botframework-cli ) )
8+ [ ![ Downloads] ( https://img.shields.io/npm/dw/botframework-cli.svg )] (  )
99[ ![ License] ( https://img.shields.io/npm/l/botframework-cli.svg )] ( https://github.com/microsoft/botframework-cli/blob/master/packages/cli/package.json )
1010
1111# Usage
1212<!-- usage -->
1313``` sh-session
1414$ npm install -g @microsoft/botframework-cli
1515$ 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- ...
2316```
2417<!-- usagestop -->
2518# Commands
@@ -154,6 +147,7 @@ USAGE
154147
155148OPTIONS
156149 -d, --disable Disable tlemetry
150+ -e, --enable Enable tlemetry
157151 -h, --help show CLI help
158152```
159153
@@ -239,7 +233,7 @@ OPTIONS
239233 --versionid=versionid Version ID of the LUIS application
240234```
241235
242- _ See code: [ @microsoft/bf-luis ] ( https://github.com/microsoft/botframework-cli/blob/v1.0.0/src/commands/luis/convert.ts ) _
236+ _ See code: [ @microsoft/bf-lu ] ( https://github.com/microsoft/botframework-cli/blob/v1.0.0/src/commands/luis/convert.ts ) _
243237
244238## ` bf luis:generate:cs `
245239
@@ -256,7 +250,7 @@ OPTIONS
256250 --out=out Output file or folder name. If not specified stdout will be used as output
257251```
258252
259- _ See code: [ @microsoft/bf-luis ] ( https://github.com/microsoft/botframework-cli/blob/v1.0.0/src/commands/luis/generate/cs.ts ) _
253+ _ See code: [ @microsoft/bf-lu ] ( https://github.com/microsoft/botframework-cli/blob/v1.0.0/src/commands/luis/generate/cs.ts ) _
260254
261255## ` bf luis:generate:ts `
262256
@@ -273,7 +267,7 @@ OPTIONS
273267 --out=out Output file or folder name. If not specified stdout will be used as output
274268```
275269
276- _ See code: [ @microsoft/bf-luis ] ( https://github.com/microsoft/botframework-cli/blob/v1.0.0/src/commands/luis/generate/ts.ts ) _
270+ _ See code: [ @microsoft/bf-lu ] ( https://github.com/microsoft/botframework-cli/blob/v1.0.0/src/commands/luis/generate/ts.ts ) _
277271
278272## ` bf luis:translate `
279273
@@ -284,17 +278,17 @@ USAGE
284278 $ bf luis:translate
285279
286280OPTIONS
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.
281+ --in=in Source .lu file(s) or LUIS application JSON model
282+ --out=out Output folder name. If not specified stdout will be used as output
283+ --recurse Indicates if sub-folders need to be considered to file .lu file(s)
284+ --srclang=srclang Source lang code. Auto detect if missing.
285+ --tgtlang=tgtlang (required) Comma separated list of target languages.
286+ --translate_comments When set, machine translate comments found in .lu file
287+ --translate_link_text When set, machine translate link description in .lu file
288+ --translatekey=translatekey (required) Machine translation endpoint key.
295289```
296290
297- _ See code: [ @microsoft/bf-luis ] ( https://github.com/microsoft/botframework-cli/blob/v1.0.0/src/commands/luis/translate.ts ) _
291+ _ See code: [ @microsoft/bf-lu ] ( https://github.com/microsoft/botframework-cli/blob/v1.0.0/src/commands/luis/translate.ts ) _
298292
299293## ` bf plugins `
300294
@@ -437,15 +431,15 @@ USAGE
437431
438432OPTIONS
439433 --alterations Indicates if files is QnA Alterations
440- --in=in (required) Source .qna file(s) or QnA KB JSON file
434+ --in=in Source .qna file(s) or QnA KB JSON file
441435 --log Enables log messages
442436 --name=name Name of the QnA KB
443437 --out=out Output file or folder name. If not specified stdout will be used as output
444438 --recurse Indicates if sub-folders need to be considered to file .qna file(s)
445439 --sort When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files
446440```
447441
448- _ See code: [ @microsoft/bf-luis ] ( https://github.com/microsoft/botframework-cli/blob/v1.0.0/src/commands/qnamaker/convert.ts ) _
442+ _ See code: [ @microsoft/bf-lu ] ( https://github.com/microsoft/botframework-cli/blob/v1.0.0/src/commands/qnamaker/convert.ts ) _
449443
450444## ` bf qnamaker:create:kb `
451445
@@ -710,23 +704,25 @@ USAGE
710704
711705OPTIONS
712706 -h, --help qnamaker:query command help
707+ --context=context Path to Context object json file with previous QnA
713708
714709 --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.
710+ settings page). Overrides the value present in config
716711
717- --hostname=hostname Specifies the url for your private QnA service. Overrides the value present in
718- config.
712+ --hostname=hostname Specifies the url for your private QnA service. Overrides the value present in config
719713
720714 --kbId=kbId Specifies the active qnamaker knowledgebase id. Overrides the value present in the
721715 config
722716
723- --question=question (required) Query to get a prediction for.
717+ --qnaId=qnaId Exact qnaId to fetch from the knowledgebase, this field takes priority over question
718+
719+ --question=question (required) Query to get a prediction for
724720
725721 --scorethreshold=scorethreshold Specifies the confidence score threshold for the returned answer.
726722
727- --strictfilters=strictfilters Path to json file {"strictfilters": MetadataDTO[]}
723+ --strictfilters=strictfilters Path to json file with MetadataDTO[] e.g {"strictfilters": MetadataDTO[]}
728724
729- --test Query against the test index.
725+ --test Query against the test index
730726
731727 --top=top Specifies the number of matching results
732728```
@@ -846,7 +842,7 @@ USAGE
846842 $ bf qnamaker:translate
847843
848844OPTIONS
849- --in=in (required) Source .qna file(s) or QnA maker application JSON model
845+ --in=in Source .qna file(s) or QnA maker application JSON model
850846 --out=out Output folder name. If not specified stdout will be used as output
851847 --recurse Indicates if sub-folders need to be considered to find .qna file(s)
852848 --srclang=srclang Source lang code. Auto detect if missing.
@@ -856,7 +852,7 @@ OPTIONS
856852 --translatekey=translatekey (required) Machine translation endpoint key.
857853```
858854
859- _ See code: [ @microsoft/bf-luis ] ( https://github.com/microsoft/botframework-cli/blob/v1.0.0/src/commands/qnamaker/translate.ts ) _
855+ _ See code: [ @microsoft/bf-lu ] ( https://github.com/microsoft/botframework-cli/blob/v1.0.0/src/commands/qnamaker/translate.ts ) _
860856
861857## ` bf qnamaker:update `
862858
0 commit comments