@@ -8,7 +8,7 @@ import {CLIError, Command, flags} from '@microsoft/bf-cli-command'
88const utils = require ( '../../../utils/index' )
99
1010export default class LuisApplicationPublish extends Command {
11- static description = 'Publishes a specific version of the application '
11+ static description = 'Publishes application\'s version'
1212
1313 static examples = [ `
1414 $ bf luis:application:publish --endpoint {ENDPOINT} --subscriptionKey {SUBSCRIPTION_KEY} --versionId {INITIAL_VERSION_ID} --appId {APP_ID} --staging {BOOLEAN}
@@ -17,9 +17,9 @@ export default class LuisApplicationPublish extends Command {
1717 static flags : any = {
1818 help : flags . help ( { char : 'h' } ) ,
1919 endpoint : flags . string ( { description : 'LUIS endpoint hostname' } ) ,
20- subscriptionKey : flags . string ( { description : 'LUIS cognitive services subscription key (aka Ocp-Apim-Subscription-Key )' } ) ,
21- appId : flags . string ( { description : 'LUIS applicaton id ' } ) ,
22- versionId : flags . string ( { description : 'LUIS application initial version Id ' } ) ,
20+ subscriptionKey : flags . string ( { description : 'LUIS cognitive services subscription key (mandatory, default: config:LUIS:subscriptionKey )' } ) ,
21+ appId : flags . string ( { description : 'LUIS application Id (mandatory, defaults to config:LUIS:appId) ' } ) ,
22+ versionId : flags . string ( { description : 'Version to publish (mandatory, defaults to config:LUIS:versionId) ' } ) ,
2323 staging : flags . string ( { description : 'Publishes application version to Staging slot, otherwise publish to production (default: false)' } ) ,
2424 direct : flags . string ( { description : 'Available only in direct version query. Do not publish to staging or production (default: false)' } )
2525 }
0 commit comments