[Tizen] Add BuildTools 2.1.0-rc1-02804-05
[platform/upstream/coreclr.git] / Tools / dotnetcli / sdk / NuGetFallbackFolder / microsoft.visualstudio.web.codegenerators.mvc / 2.0.1 / Generators / ParameterDefinitions / controller.json
1 {
2     "Alias": "controller",
3     "Description": "Generates a controller.",
4     "Arguments": [
5
6     ],
7     "Options": [
8         {
9             "Name": "controllerName",
10             "ShortName": "name",
11             "Description": "Name of the controller"
12         },
13         {
14             "Name": "useAsyncActions",
15             "ShortName": "async",
16             "Description": "Switch to indicate whether to generate async controller actions"
17         },
18         {
19             "Name": "noViews",
20             "ShortName": "nv",
21             "Description": "Switch to indicate whether to generate CRUD views"
22         },
23         {
24             "Name": "restWithNoViews",
25             "ShortName": "api",
26             "Description": "Specify this switch to generate a Controller with REST style API, noViews is assumed and any view related options are ignored"
27         },
28         {
29             "Name": "readWriteActions",
30             "ShortName": "actions",
31             "Description": "Specify this switch to generate Controller with read/write actions when a Model class is not used"
32         },
33         {
34             "Name": "model",
35             "ShortName": "m",
36             "Description": "Model class to use"
37         },
38         {
39             "Name": "dataContext",
40             "ShortName": "dc",
41             "Description": "DbContext class to use"
42         },
43         {
44             "Name": "referenceScriptLibraries",
45             "ShortName": "scripts",
46             "Description": "Switch to specify whether to reference script libraries in the generated views"
47         },
48         {
49             "Name": "layout",
50             "ShortName": "l",
51             "Description": "Custom Layout page to use"
52         },
53         {
54             "Name": "useDefaultLayout",
55             "ShortName": "udl",
56             "Description": "Switch to specify that default layout should be used for the views"
57         },
58         {
59             "Name": "force",
60             "ShortName": "f",
61             "Description": "Use this option to overwrite existing files"
62         },
63         {
64             "Name": "relativeFolderPath",
65             "ShortName": "outDir",
66             "Description": "Specify the relative output folder path from project where the file needs to be generated, if not specified, file will be generated in the project folder"
67         },
68         {
69             "Name": "controllerNamespace",
70             "ShortName": "namespace",
71             "Description": "Specify the name of the namespace to use for the generated controller"
72         }
73     ]
74 }