-
Notifications
You must be signed in to change notification settings - Fork 213
/
Copy pathCreateProjectOptions.ts
224 lines (221 loc) · 5.9 KB
/
CreateProjectOptions.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
/****************************************************************************************
* NOTICE: AUTO-GENERATED *
****************************************************************************************
* This file is automatically generated by script "./src/question/generator.ts". *
* Please don't manually change its contents, as any modifications will be overwritten! *
***************************************************************************************/
import { CLICommandOption, CLICommandArgument } from "@microsoft/teamsfx-api";
export const CreateProjectOptions: CLICommandOption[] = [
{
name: "runtime",
type: "string",
description: "Teams Toolkit: select runtime for your app",
default: "node",
hidden: true,
choices: ["node", "dotnet"],
},
{
name: "capability",
questionName: "capabilities",
type: "string",
shortName: "c",
description: "Specifies the Microsoft Teams App capability.",
required: true,
choices: [
"empty",
"bot",
"notification",
"command-bot",
"workflow-bot",
"tab-non-sso",
"sso-launch-page",
"dashboard-tab",
"tab-spfx",
"search-app",
"collect-form-message-extension",
"search-message-extension",
"link-unfurling",
"declarative-agent",
"custom-copilot-basic",
"custom-copilot-rag",
"custom-copilot-agent",
"message-extension",
"BotAndMessageExtension",
"TabNonSsoAndBot",
"json-taskpane",
"office-content-addin",
],
choiceListCommand: "teamsapp list templates",
},
{
name: "bot-host-type-trigger",
type: "string",
shortName: "t",
description: "Specifies the trigger for `Chat Notification Message` app template.",
default: "http-express",
choices: [
"http-express",
"http-webapi",
"http-and-timer-functions",
"http-functions",
"timer-functions",
],
},
{
name: "spfx-solution",
type: "string",
shortName: "s",
description: "Create a new or import an existing SharePoint Framework solution.",
default: "new",
choices: ["new", "import"],
},
{
name: "spfx-install-latest-package",
type: "boolean",
description: "Install the latest version of SharePoint Framework.",
default: true,
},
{
name: "spfx-framework-type",
type: "string",
shortName: "k",
description: "Framework.",
default: "react",
choices: ["react", "minimal", "none"],
},
{
name: "spfx-webpart-name",
type: "string",
shortName: "w",
description: "Name for SharePoint Framework Web Part.",
default: "helloworld",
},
{
name: "spfx-folder",
type: "string",
description: "Directory or Path that contains the existing SharePoint Framework solution.",
},
{
name: "me-architecture",
type: "string",
shortName: "m",
description: "Architecture of Search Based Message Extension.",
default: "new-api",
choices: ["new-api", "api-spec", "bot"],
},
{
name: "with-plugin",
type: "string",
description: "Whether to add API plugin for your declarative Copilot.",
default: "no",
choices: ["no", "yes"],
},
{
name: "api-plugin-type",
type: "string",
description: "API plugin type.",
default: "new-api",
choices: ["new-api", "api-spec", "existing-plugin"],
},
{
name: "plugin-manifest-path",
type: "string",
description: "Plugin manifest path.",
},
{
name: "plugin-opeanapi-spec-path",
type: "string",
description: "OpenAPI description document used for your API plugin.",
},
{
name: "api-auth",
type: "string",
description: "The authentication type for the API.",
default: "none",
choices: ["none", "api-key", "bearer-token", "microsoft-entra", "oauth"],
},
{
name: "custom-copilot-rag",
type: "string",
description: "Chat With Your Data",
default: "custom-copilot-rag-customize",
choices: [
"custom-copilot-rag-customize",
"custom-copilot-rag-azureAISearch",
"custom-copilot-rag-customApi",
"custom-copilot-rag-microsoft365",
],
},
{
name: "openapi-spec-location",
type: "string",
shortName: "a",
description: "OpenAPI description document location.",
},
{
name: "api-operation",
type: "array",
shortName: "o",
description: "Select operation(s) Teams can interact with.",
},
{
name: "custom-copilot-agent",
type: "string",
description: "AI Agent",
default: "custom-copilot-agent-new",
choices: ["custom-copilot-agent-new", "custom-copilot-agent-assistants-api"],
},
{
name: "programming-language",
type: "string",
shortName: "l",
description: "Programming Language",
default: "javascript",
choices: ["javascript", "typescript", "csharp", "python"],
},
{
name: "llm-service",
type: "string",
description: "Service for Large Language Model (LLM)",
default: "llm-service-azure-openai",
choices: ["llm-service-azure-openai", "llm-service-openai"],
},
{
name: "azure-openai-key",
type: "string",
description: "Azure OpenAI Key",
},
{
name: "azure-openai-endpoint",
type: "string",
description: "Azure OpenAI Endpoint",
},
{
name: "azure-openai-deployment-name",
type: "string",
description: "Azure OpenAI Deployment Name",
},
{
name: "openai-key",
type: "string",
description: "OpenAI Key",
},
{
name: "folder",
type: "string",
shortName: "f",
description: "Directory where the project folder will be created in.",
required: true,
default: "./",
},
{
name: "app-name",
type: "string",
shortName: "n",
description: "Application Name",
required: true,
},
];
export const CreateProjectArguments: CLICommandArgument[] = [];