Skip to content

Commit

Permalink
Merge branch 'master' into luis-application-create-updates
Browse files Browse the repository at this point in the history
  • Loading branch information
JSpru committed Nov 18, 2019
2 parents 920c378 + 6dbebec commit 5b16828
Showing 1 changed file with 23 additions and 29 deletions.
52 changes: 23 additions & 29 deletions specs/LUIS-CLI-Usage-Spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ Parameters:



### clone:version
### version:clone


Synopsis: Creates a new version equivalent to the current snapshot of the selected application version.

Expand All @@ -73,10 +74,10 @@ Reference: [Clone version](https://westus.dev.cognitive.microsoft.com/docs/serv
Parameters:

```
--srcversionId Source version to clone (mandatory, defaults to config:LUIS:versionId)
--destversionId Destination version to create (mandatory)
--appid LUIS application Id (mandatory, defaults to config:LUIS:appId)
--subscriptionKey LUIS authoring (Ocp-Apim-subscription) key
--versionId Source version to clone (mandatory, defaults to config:LUIS:versionId)
--targetVersionId Destination version to create (mandatory)
--appId LUIS application Id (mandatory, defaults to config:LUIS:appId)
--subscriptionKey LUIS authoring (Ocp-Apim-subscription) key
```

Returns:
Expand All @@ -87,7 +88,7 @@ Returns:



### create:application
### application:create

Synopsis: Creates a new LUIS application

Expand Down Expand Up @@ -116,9 +117,7 @@ Returns:
* Or error code with error message
* Echo newly created application Id



### delete:application
### application:delete

Synopsis: Deletes a LUIS application.

Expand All @@ -128,7 +127,7 @@ Parameters:

```
--subscriptionkey LUIS cognitive services subscription key (mandatory, default: config:LUIS:subscriptionKey)
--appid LUIS application Id (mandatory, defaults to config:LUIS:appId)
--appId LUIS application Id (mandatory, defaults to config:LUIS:appId)
--force If specified, ignore application dependencies. (optional, default: false). **TBD**: Do we still have to specify true/false? presence of flag should suffice
```

Expand All @@ -139,7 +138,7 @@ Returns:



### delete:version
### version:delete

Synopsis: Deletes a LUIS application version.

Expand All @@ -160,7 +159,7 @@ Returns:



### export:version
### version:export

Synopsis: Exports a LUIS application to JSON format .

Expand Down Expand Up @@ -189,8 +188,7 @@ Returns:
* If file specified, print out written file full path



### import:application
### application:import

Synopsis: Imports LUIS application from JSON or LU content.

Expand Down Expand Up @@ -220,7 +218,7 @@ Returns:



### import:version
### version:import

Synopsis: Imports a new version into a LUIS application from JSON or LU content.

Expand Down Expand Up @@ -249,9 +247,8 @@ Returns:

* Prints out created version Id



### list:applications
### application:list

Synopsis: Lists all applications on LUIS service.

Expand All @@ -277,7 +274,7 @@ Returns:



### list:endpoints
### endpoint:list

Synopsis: Returns available deployment endpoints

Expand All @@ -300,9 +297,8 @@ Returns:

* Prints out deployment endpoints unless output file is specified



### list:versions
### version:list

Synopsis: Returns application's versions

Expand All @@ -329,7 +325,7 @@ Returns:



### publish:application **TBD**: Original spec states publish:version
### application:publish **TBD**: Original spec states publish:version

Synopsis: Publishes application's version

Expand Down Expand Up @@ -367,9 +363,7 @@ Returns:
}
```



### rename:application
### application:rename

Synopsis: Renames the application and updates its description

Expand All @@ -391,7 +385,7 @@ Returns:



### rename:version
### version:rename

Synopsis: Renames application version

Expand All @@ -413,7 +407,7 @@ Returns:



### show:application
### application:show

Synopsis: Shows application information

Expand Down Expand Up @@ -466,7 +460,7 @@ Returns:



### show:training **TBD**: Change from show:trainingstatus
### train:show **TBD**: Change from show:trainingstatus

Synopsis: Shows training status

Expand Down Expand Up @@ -507,7 +501,7 @@ Returns:
]
```

### train **TBD**: Changed from original table spec
### train:run **TBD**: Changed from original table spec

Synopsis: Issues asynchronous training request for LUIS application

Expand All @@ -526,7 +520,7 @@ Returns:



### query **TBD**: Ensure it is the right one
### application:query **TBD**: Ensure it is the right one

Synopsis: Queries application for intent predictions

Expand Down

0 comments on commit 5b16828

Please sign in to comment.