@microsoft/managed-apps-cli 0.20.0 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (605) hide show
  1. package/THIRD-PARTY-NOTICES.txt +9549 -0
  2. package/dist/AddConnector-4AMM746J.js +41 -0
  3. package/dist/AuthStatus-ZZIP3LBD.js +11 -0
  4. package/dist/AuthSwitch-HK7JU2FR.js +13 -0
  5. package/dist/Bin.js +8 -3
  6. package/dist/BuildMaafApp-MOTZOLJZ.js +11 -0
  7. package/dist/Cli-6CCXMCPX.js +54 -0
  8. package/dist/CreateMaafApp-TUO72CW7.js +20 -0
  9. package/dist/DeleteMaafApp-MZVGIAX3.js +11 -0
  10. package/dist/DeployMaafApp-KXATM3E3.js +14 -0
  11. package/dist/Dev-SHIA5S7X.js +14 -0
  12. package/dist/EnvironmentVariableAuthenticationProvider-5YTMRAE4.js +11 -0
  13. package/dist/GetMaafApp-ELB5KMHW.js +11 -0
  14. package/dist/GetMaafBuildStatus-3W7LI5TJ.js +11 -0
  15. package/dist/GetSettings-NM6H2U5F.js +11 -0
  16. package/dist/Init-CH5DUQWA.js +11 -0
  17. package/dist/ListConnectorActions-7SIFGPYR.js +11 -0
  18. package/dist/ListConnectors-TRKIWRVQ.js +11 -0
  19. package/dist/ListMaafApps-RT3PGZSJ.js +11 -0
  20. package/dist/Login-HG5S7LBC.js +11 -0
  21. package/dist/Logout-BUPHLOAH.js +11 -0
  22. package/dist/MockFetch-4CYTSNJ7.js +13 -0
  23. package/dist/NoOpAuthenticationProvider-DX3XNXF5.js +11 -0
  24. package/dist/NodeMsalAuthenticationProvider-HTH3V3G2.js +17 -0
  25. package/dist/Pack-AHKC2MYF.js +8 -0
  26. package/dist/PlayMaafApp-LWKJU2IN.js +12 -0
  27. package/dist/RefreshDataSource-ZFZJXJ5L.js +11 -0
  28. package/dist/RefreshGitAuth-5A3SX2HC.js +11 -0
  29. package/dist/RemoveDataSource-57JJLK5I.js +14 -0
  30. package/dist/ServicePrincipalAuthenticationProvider-SVKDZG6X.js +11 -0
  31. package/dist/SetSetting-RB3F7IXG.js +11 -0
  32. package/dist/ShareLinkCreate-7BCDPWY6.js +11 -0
  33. package/dist/ShareLinkList-4BI3WMNN.js +11 -0
  34. package/dist/ShareLinkRevoke-EEJVCRCY.js +11 -0
  35. package/dist/ShareList-LJDAEGI3.js +11 -0
  36. package/dist/ShareMaafApp-QFRXLYUD.js +11 -0
  37. package/dist/ShowMaafApp-3KK6NUG2.js +11 -0
  38. package/dist/TelemetrySettings-A474HALH.js +11 -0
  39. package/dist/UnshareMaafApp-423RNXCN.js +11 -0
  40. package/dist/acorn-CYBWGE5M.js +23 -0
  41. package/dist/angular-Q62TJP23.js +11 -0
  42. package/dist/babel-AOXBHIIS.js +22 -0
  43. package/dist/chunk-3BRAT6NP.js +11 -0
  44. package/dist/chunk-3YRE4IQ3.js +132 -0
  45. package/dist/chunk-5AUOEXAR.js +50 -0
  46. package/dist/chunk-6FFQN2SO.js +13 -0
  47. package/dist/chunk-6MXOK2LG.js +11 -0
  48. package/dist/chunk-7NXJAIJX.js +11 -0
  49. package/dist/chunk-DREO7EYO.js +20 -0
  50. package/dist/chunk-EV3TTTOT.js +8 -0
  51. package/dist/chunk-G33Q5FWT.js +42325 -0
  52. package/dist/chunk-HBLO3WDD.js +13 -0
  53. package/dist/chunk-MFPX2RFH.js +11 -0
  54. package/dist/chunk-NP2KJOYC.js +12 -0
  55. package/dist/chunk-OL6CTXQR.js +11 -0
  56. package/dist/chunk-PVAIJSAI.js +11 -0
  57. package/dist/chunk-QAFCXGBD.js +11 -0
  58. package/dist/chunk-QSB5P4RM.js +38 -0
  59. package/dist/chunk-RBG2H562.js +11 -0
  60. package/dist/chunk-S5HEU7XK.js +11 -0
  61. package/dist/chunk-TYRVM4PP.js +8 -0
  62. package/dist/chunk-U36HMOQW.js +77 -0
  63. package/dist/chunk-UBTSW22U.js +11 -0
  64. package/dist/chunk-USRRI5H4.js +11 -0
  65. package/dist/chunk-UT667QSU.js +8 -0
  66. package/dist/chunk-VFSTQAZ2.js +12 -0
  67. package/dist/chunk-VNEZZ3RI.js +11 -0
  68. package/dist/chunk-W7EWOZPO.js +104 -0
  69. package/dist/chunk-Y5AMO72S.js +10 -0
  70. package/dist/chunk-YIKNM523.js +15 -0
  71. package/dist/chunk-YMXXWGRV.js +11 -0
  72. package/dist/estree-HPTPQIMZ.js +51 -0
  73. package/dist/flow-B6JUMONE.js +27 -0
  74. package/dist/glimmer-36KZ3DJ5.js +44 -0
  75. package/dist/graphql-E6CIFZFV.js +35 -0
  76. package/dist/html-BUTTPQE6.js +32 -0
  77. package/dist/markdown-K2C5OZHT.js +69 -0
  78. package/dist/meriyah-27UE2OSX.js +12 -0
  79. package/dist/postcss-QUHZLBB7.js +68 -0
  80. package/dist/typescript-G2G6TDZF.js +28 -0
  81. package/dist/yaml-W5P5CGFK.js +166 -0
  82. package/package.json +21 -16
  83. package/dist/ArgumentProvider.d.ts +0 -144
  84. package/dist/ArgumentProvider.d.ts.map +0 -1
  85. package/dist/ArgumentProvider.js +0 -493
  86. package/dist/ArgumentProvider.js.map +0 -1
  87. package/dist/Authentication/ActiveAccountStore.d.ts +0 -24
  88. package/dist/Authentication/ActiveAccountStore.d.ts.map +0 -1
  89. package/dist/Authentication/ActiveAccountStore.js +0 -54
  90. package/dist/Authentication/ActiveAccountStore.js.map +0 -1
  91. package/dist/Authentication/EnvironmentVariableAuthenticationProvider.d.ts +0 -26
  92. package/dist/Authentication/EnvironmentVariableAuthenticationProvider.d.ts.map +0 -1
  93. package/dist/Authentication/EnvironmentVariableAuthenticationProvider.js +0 -31
  94. package/dist/Authentication/EnvironmentVariableAuthenticationProvider.js.map +0 -1
  95. package/dist/Authentication/NoOpAuthenticationProvider.d.ts +0 -25
  96. package/dist/Authentication/NoOpAuthenticationProvider.d.ts.map +0 -1
  97. package/dist/Authentication/NoOpAuthenticationProvider.js +0 -31
  98. package/dist/Authentication/NoOpAuthenticationProvider.js.map +0 -1
  99. package/dist/Authentication/NodeMsalAuthenticationProvider.d.ts +0 -103
  100. package/dist/Authentication/NodeMsalAuthenticationProvider.d.ts.map +0 -1
  101. package/dist/Authentication/NodeMsalAuthenticationProvider.js +0 -391
  102. package/dist/Authentication/NodeMsalAuthenticationProvider.js.map +0 -1
  103. package/dist/Authentication/ServicePrincipalAuthenticationProvider.d.ts +0 -23
  104. package/dist/Authentication/ServicePrincipalAuthenticationProvider.d.ts.map +0 -1
  105. package/dist/Authentication/ServicePrincipalAuthenticationProvider.js +0 -60
  106. package/dist/Authentication/ServicePrincipalAuthenticationProvider.js.map +0 -1
  107. package/dist/Bin.d.ts +0 -6
  108. package/dist/Bin.d.ts.map +0 -1
  109. package/dist/Bin.js.map +0 -1
  110. package/dist/Cli.d.ts +0 -2
  111. package/dist/Cli.d.ts.map +0 -1
  112. package/dist/Cli.js +0 -207
  113. package/dist/Cli.js.map +0 -1
  114. package/dist/CliSettings.d.ts +0 -17
  115. package/dist/CliSettings.d.ts.map +0 -1
  116. package/dist/CliSettings.js +0 -103
  117. package/dist/CliSettings.js.map +0 -1
  118. package/dist/CliUtils.d.ts +0 -108
  119. package/dist/CliUtils.d.ts.map +0 -1
  120. package/dist/CliUtils.js +0 -217
  121. package/dist/CliUtils.js.map +0 -1
  122. package/dist/Constants/CliConstants.d.ts +0 -6
  123. package/dist/Constants/CliConstants.d.ts.map +0 -1
  124. package/dist/Constants/CliConstants.js +0 -6
  125. package/dist/Constants/CliConstants.js.map +0 -1
  126. package/dist/Constants/CommandRegistry.d.ts +0 -22
  127. package/dist/Constants/CommandRegistry.d.ts.map +0 -1
  128. package/dist/Constants/CommandRegistry.js +0 -245
  129. package/dist/Constants/CommandRegistry.js.map +0 -1
  130. package/dist/Constants/HelpStrings.d.ts +0 -432
  131. package/dist/Constants/HelpStrings.d.ts.map +0 -1
  132. package/dist/Constants/HelpStrings.js +0 -623
  133. package/dist/Constants/HelpStrings.js.map +0 -1
  134. package/dist/Constants.d.ts +0 -18
  135. package/dist/Constants.d.ts.map +0 -1
  136. package/dist/Constants.js +0 -41
  137. package/dist/Constants.js.map +0 -1
  138. package/dist/Errors/CliError.d.ts +0 -5
  139. package/dist/Errors/CliError.d.ts.map +0 -1
  140. package/dist/Errors/CliError.js +0 -7
  141. package/dist/Errors/CliError.js.map +0 -1
  142. package/dist/Errors/GitHubErrorMap.d.ts +0 -68
  143. package/dist/Errors/GitHubErrorMap.d.ts.map +0 -1
  144. package/dist/Errors/GitHubErrorMap.js +0 -238
  145. package/dist/Errors/GitHubErrorMap.js.map +0 -1
  146. package/dist/FS/CliFs.d.ts +0 -41
  147. package/dist/FS/CliFs.d.ts.map +0 -1
  148. package/dist/FS/CliFs.js +0 -136
  149. package/dist/FS/CliFs.js.map +0 -1
  150. package/dist/HttpClient/CliHttpClient.d.ts +0 -43
  151. package/dist/HttpClient/CliHttpClient.d.ts.map +0 -1
  152. package/dist/HttpClient/CliHttpClient.js +0 -320
  153. package/dist/HttpClient/CliHttpClient.js.map +0 -1
  154. package/dist/HttpClient/HttpForward.d.ts +0 -9
  155. package/dist/HttpClient/HttpForward.d.ts.map +0 -1
  156. package/dist/HttpClient/HttpForward.js +0 -56
  157. package/dist/HttpClient/HttpForward.js.map +0 -1
  158. package/dist/Logger/BufferedTelemetryWriter.d.ts +0 -20
  159. package/dist/Logger/BufferedTelemetryWriter.d.ts.map +0 -1
  160. package/dist/Logger/BufferedTelemetryWriter.js +0 -163
  161. package/dist/Logger/BufferedTelemetryWriter.js.map +0 -1
  162. package/dist/Logger/CliLogger.d.ts +0 -59
  163. package/dist/Logger/CliLogger.d.ts.map +0 -1
  164. package/dist/Logger/CliLogger.js +0 -364
  165. package/dist/Logger/CliLogger.js.map +0 -1
  166. package/dist/Logger/ConsoleWriter.d.ts +0 -23
  167. package/dist/Logger/ConsoleWriter.d.ts.map +0 -1
  168. package/dist/Logger/ConsoleWriter.js +0 -66
  169. package/dist/Logger/ConsoleWriter.js.map +0 -1
  170. package/dist/Logger/Constants.d.ts +0 -6
  171. package/dist/Logger/Constants.d.ts.map +0 -1
  172. package/dist/Logger/Constants.js +0 -15
  173. package/dist/Logger/Constants.js.map +0 -1
  174. package/dist/Logger/LoggerSettings.d.ts +0 -18
  175. package/dist/Logger/LoggerSettings.d.ts.map +0 -1
  176. package/dist/Logger/LoggerSettings.js +0 -78
  177. package/dist/Logger/LoggerSettings.js.map +0 -1
  178. package/dist/Logger/OneDSWriter.d.ts +0 -26
  179. package/dist/Logger/OneDSWriter.d.ts.map +0 -1
  180. package/dist/Logger/OneDSWriter.js +0 -211
  181. package/dist/Logger/OneDSWriter.js.map +0 -1
  182. package/dist/Logger/Scrubber/ScrubCustomDimensions.d.ts +0 -5
  183. package/dist/Logger/Scrubber/ScrubCustomDimensions.d.ts.map +0 -1
  184. package/dist/Logger/Scrubber/ScrubCustomDimensions.js +0 -46
  185. package/dist/Logger/Scrubber/ScrubCustomDimensions.js.map +0 -1
  186. package/dist/Logger/Scrubber/ScrubCustomDimensionsConfig.d.ts +0 -27
  187. package/dist/Logger/Scrubber/ScrubCustomDimensionsConfig.d.ts.map +0 -1
  188. package/dist/Logger/Scrubber/ScrubCustomDimensionsConfig.js +0 -168
  189. package/dist/Logger/Scrubber/ScrubCustomDimensionsConfig.js.map +0 -1
  190. package/dist/Logger/Scrubber/ScrubUtils.d.ts +0 -8
  191. package/dist/Logger/Scrubber/ScrubUtils.d.ts.map +0 -1
  192. package/dist/Logger/Scrubber/ScrubUtils.js +0 -34
  193. package/dist/Logger/Scrubber/ScrubUtils.js.map +0 -1
  194. package/dist/Middletier/FunctionsBundler.d.ts +0 -17
  195. package/dist/Middletier/FunctionsBundler.d.ts.map +0 -1
  196. package/dist/Middletier/FunctionsBundler.js +0 -169
  197. package/dist/Middletier/FunctionsBundler.js.map +0 -1
  198. package/dist/Middletier/PackFunctions.d.ts +0 -53
  199. package/dist/Middletier/PackFunctions.d.ts.map +0 -1
  200. package/dist/Middletier/PackFunctions.js +0 -123
  201. package/dist/Middletier/PackFunctions.js.map +0 -1
  202. package/dist/Testing/MockFetch.d.ts +0 -23
  203. package/dist/Testing/MockFetch.d.ts.map +0 -1
  204. package/dist/Testing/MockFetch.js +0 -177
  205. package/dist/Testing/MockFetch.js.map +0 -1
  206. package/dist/Testing/MockRoutes.d.ts +0 -34
  207. package/dist/Testing/MockRoutes.d.ts.map +0 -1
  208. package/dist/Testing/MockRoutes.js +0 -226
  209. package/dist/Testing/MockRoutes.js.map +0 -1
  210. package/dist/Testing/fixtures/connectors/commondataserviceforapps.d.ts +0 -6
  211. package/dist/Testing/fixtures/connectors/commondataserviceforapps.d.ts.map +0 -1
  212. package/dist/Testing/fixtures/connectors/commondataserviceforapps.js +0 -25
  213. package/dist/Testing/fixtures/connectors/commondataserviceforapps.js.map +0 -1
  214. package/dist/Testing/fixtures/connectors/dataverseContactEntity.d.ts +0 -6
  215. package/dist/Testing/fixtures/connectors/dataverseContactEntity.d.ts.map +0 -1
  216. package/dist/Testing/fixtures/connectors/dataverseContactEntity.js +0 -55
  217. package/dist/Testing/fixtures/connectors/dataverseContactEntity.js.map +0 -1
  218. package/dist/Testing/fixtures/connectors/excelonlinebusiness.d.ts +0 -6
  219. package/dist/Testing/fixtures/connectors/excelonlinebusiness.d.ts.map +0 -1
  220. package/dist/Testing/fixtures/connectors/excelonlinebusiness.js +0 -1970
  221. package/dist/Testing/fixtures/connectors/excelonlinebusiness.js.map +0 -1
  222. package/dist/Testing/fixtures/connectors/kusto.d.ts +0 -6
  223. package/dist/Testing/fixtures/connectors/kusto.d.ts.map +0 -1
  224. package/dist/Testing/fixtures/connectors/kusto.js +0 -1333
  225. package/dist/Testing/fixtures/connectors/kusto.js.map +0 -1
  226. package/dist/Testing/fixtures/connectors/msnweather.d.ts +0 -6
  227. package/dist/Testing/fixtures/connectors/msnweather.d.ts.map +0 -1
  228. package/dist/Testing/fixtures/connectors/msnweather.js +0 -917
  229. package/dist/Testing/fixtures/connectors/msnweather.js.map +0 -1
  230. package/dist/Testing/fixtures/connectors/office365groups.d.ts +0 -6
  231. package/dist/Testing/fixtures/connectors/office365groups.d.ts.map +0 -1
  232. package/dist/Testing/fixtures/connectors/office365groups.js +0 -2144
  233. package/dist/Testing/fixtures/connectors/office365groups.js.map +0 -1
  234. package/dist/Testing/fixtures/connectors/office365users.d.ts +0 -6
  235. package/dist/Testing/fixtures/connectors/office365users.d.ts.map +0 -1
  236. package/dist/Testing/fixtures/connectors/office365users.js +0 -1969
  237. package/dist/Testing/fixtures/connectors/office365users.js.map +0 -1
  238. package/dist/Testing/fixtures/connectors/onedriveforbusiness.d.ts +0 -6
  239. package/dist/Testing/fixtures/connectors/onedriveforbusiness.d.ts.map +0 -1
  240. package/dist/Testing/fixtures/connectors/onedriveforbusiness.js +0 -4873
  241. package/dist/Testing/fixtures/connectors/onedriveforbusiness.js.map +0 -1
  242. package/dist/Testing/fixtures/connectors/powerappsforappmakers.d.ts +0 -6
  243. package/dist/Testing/fixtures/connectors/powerappsforappmakers.d.ts.map +0 -1
  244. package/dist/Testing/fixtures/connectors/powerappsforappmakers.js +0 -4682
  245. package/dist/Testing/fixtures/connectors/powerappsforappmakers.js.map +0 -1
  246. package/dist/Testing/fixtures/connectors/sharepointTestListMetadata.d.ts +0 -6
  247. package/dist/Testing/fixtures/connectors/sharepointTestListMetadata.d.ts.map +0 -1
  248. package/dist/Testing/fixtures/connectors/sharepointTestListMetadata.js +0 -1078
  249. package/dist/Testing/fixtures/connectors/sharepointTestListMetadata.js.map +0 -1
  250. package/dist/Testing/fixtures/connectors/sharepointonline.d.ts +0 -6
  251. package/dist/Testing/fixtures/connectors/sharepointonline.d.ts.map +0 -1
  252. package/dist/Testing/fixtures/connectors/sharepointonline.js +0 -28
  253. package/dist/Testing/fixtures/connectors/sharepointonline.js.map +0 -1
  254. package/dist/Testing/fixtures/connectors/teams.d.ts +0 -6
  255. package/dist/Testing/fixtures/connectors/teams.d.ts.map +0 -1
  256. package/dist/Testing/fixtures/connectors/teams.js +0 -9987
  257. package/dist/Testing/fixtures/connectors/teams.js.map +0 -1
  258. package/dist/Testing/fixtures/connectors/translatorv2.d.ts +0 -6
  259. package/dist/Testing/fixtures/connectors/translatorv2.d.ts.map +0 -1
  260. package/dist/Testing/fixtures/connectors/translatorv2.js +0 -307
  261. package/dist/Testing/fixtures/connectors/translatorv2.js.map +0 -1
  262. package/dist/Testing/fixtures/index.d.ts +0 -23
  263. package/dist/Testing/fixtures/index.d.ts.map +0 -1
  264. package/dist/Testing/fixtures/index.js +0 -96
  265. package/dist/Testing/fixtures/index.js.map +0 -1
  266. package/dist/Types/Argument.types.d.ts +0 -28
  267. package/dist/Types/Argument.types.d.ts.map +0 -1
  268. package/dist/Types/Argument.types.js +0 -5
  269. package/dist/Types/Argument.types.js.map +0 -1
  270. package/dist/Types/Cli.types.d.ts +0 -82
  271. package/dist/Types/Cli.types.d.ts.map +0 -1
  272. package/dist/Types/Cli.types.js +0 -5
  273. package/dist/Types/Cli.types.js.map +0 -1
  274. package/dist/Types/Command.types.d.ts +0 -69
  275. package/dist/Types/Command.types.d.ts.map +0 -1
  276. package/dist/Types/Command.types.js +0 -20
  277. package/dist/Types/Command.types.js.map +0 -1
  278. package/dist/Types/Datasource.types.d.ts +0 -30
  279. package/dist/Types/Datasource.types.d.ts.map +0 -1
  280. package/dist/Types/Datasource.types.js +0 -5
  281. package/dist/Types/Datasource.types.js.map +0 -1
  282. package/dist/Types/LoggerTypes.types.d.ts +0 -18
  283. package/dist/Types/LoggerTypes.types.d.ts.map +0 -1
  284. package/dist/Types/LoggerTypes.types.js +0 -5
  285. package/dist/Types/LoggerTypes.types.js.map +0 -1
  286. package/dist/Utils/BuildPolling.d.ts +0 -43
  287. package/dist/Utils/BuildPolling.d.ts.map +0 -1
  288. package/dist/Utils/BuildPolling.js +0 -139
  289. package/dist/Utils/BuildPolling.js.map +0 -1
  290. package/dist/Utils/BuildVerbDescriptionTable.d.ts +0 -29
  291. package/dist/Utils/BuildVerbDescriptionTable.d.ts.map +0 -1
  292. package/dist/Utils/BuildVerbDescriptionTable.js +0 -147
  293. package/dist/Utils/BuildVerbDescriptionTable.js.map +0 -1
  294. package/dist/Utils/CoerceCliVersion.d.ts +0 -27
  295. package/dist/Utils/CoerceCliVersion.d.ts.map +0 -1
  296. package/dist/Utils/CoerceCliVersion.js +0 -67
  297. package/dist/Utils/CoerceCliVersion.js.map +0 -1
  298. package/dist/Utils/ConnectorIds.d.ts +0 -12
  299. package/dist/Utils/ConnectorIds.d.ts.map +0 -1
  300. package/dist/Utils/ConnectorIds.js +0 -20
  301. package/dist/Utils/ConnectorIds.js.map +0 -1
  302. package/dist/Utils/ConsoleOutput.d.ts +0 -86
  303. package/dist/Utils/ConsoleOutput.d.ts.map +0 -1
  304. package/dist/Utils/ConsoleOutput.js +0 -162
  305. package/dist/Utils/ConsoleOutput.js.map +0 -1
  306. package/dist/Utils/DcfRecovery.d.ts +0 -84
  307. package/dist/Utils/DcfRecovery.d.ts.map +0 -1
  308. package/dist/Utils/DcfRecovery.js +0 -246
  309. package/dist/Utils/DcfRecovery.js.map +0 -1
  310. package/dist/Utils/DetectPackageManager.d.ts +0 -9
  311. package/dist/Utils/DetectPackageManager.d.ts.map +0 -1
  312. package/dist/Utils/DetectPackageManager.js +0 -24
  313. package/dist/Utils/DetectPackageManager.js.map +0 -1
  314. package/dist/Utils/DownloadTemplate.d.ts +0 -45
  315. package/dist/Utils/DownloadTemplate.d.ts.map +0 -1
  316. package/dist/Utils/DownloadTemplate.js +0 -161
  317. package/dist/Utils/DownloadTemplate.js.map +0 -1
  318. package/dist/Utils/EnhanceNetworkError.d.ts +0 -14
  319. package/dist/Utils/EnhanceNetworkError.d.ts.map +0 -1
  320. package/dist/Utils/EnhanceNetworkError.js +0 -61
  321. package/dist/Utils/EnhanceNetworkError.js.map +0 -1
  322. package/dist/Utils/EnvVars.d.ts +0 -17
  323. package/dist/Utils/EnvVars.d.ts.map +0 -1
  324. package/dist/Utils/EnvVars.js +0 -38
  325. package/dist/Utils/EnvVars.js.map +0 -1
  326. package/dist/Utils/EnvironmentRoutingUtils.d.ts +0 -81
  327. package/dist/Utils/EnvironmentRoutingUtils.d.ts.map +0 -1
  328. package/dist/Utils/EnvironmentRoutingUtils.js +0 -204
  329. package/dist/Utils/EnvironmentRoutingUtils.js.map +0 -1
  330. package/dist/Utils/FindAvailablePort.d.ts +0 -39
  331. package/dist/Utils/FindAvailablePort.d.ts.map +0 -1
  332. package/dist/Utils/FindAvailablePort.js +0 -105
  333. package/dist/Utils/FindAvailablePort.js.map +0 -1
  334. package/dist/Utils/GitCredentialConfig.d.ts +0 -12
  335. package/dist/Utils/GitCredentialConfig.d.ts.map +0 -1
  336. package/dist/Utils/GitCredentialConfig.js +0 -32
  337. package/dist/Utils/GitCredentialConfig.js.map +0 -1
  338. package/dist/Utils/GitErrorClassifier.d.ts +0 -40
  339. package/dist/Utils/GitErrorClassifier.d.ts.map +0 -1
  340. package/dist/Utils/GitErrorClassifier.js +0 -120
  341. package/dist/Utils/GitErrorClassifier.js.map +0 -1
  342. package/dist/Utils/GitHubDcfFlow.d.ts +0 -59
  343. package/dist/Utils/GitHubDcfFlow.d.ts.map +0 -1
  344. package/dist/Utils/GitHubDcfFlow.js +0 -165
  345. package/dist/Utils/GitHubDcfFlow.js.map +0 -1
  346. package/dist/Utils/GitRunner.d.ts +0 -107
  347. package/dist/Utils/GitRunner.d.ts.map +0 -1
  348. package/dist/Utils/GitRunner.js +0 -89
  349. package/dist/Utils/GitRunner.js.map +0 -1
  350. package/dist/Utils/GitUtils.d.ts +0 -59
  351. package/dist/Utils/GitUtils.d.ts.map +0 -1
  352. package/dist/Utils/GitUtils.js +0 -198
  353. package/dist/Utils/GitUtils.js.map +0 -1
  354. package/dist/Utils/GitVersionChecker.d.ts +0 -38
  355. package/dist/Utils/GitVersionChecker.d.ts.map +0 -1
  356. package/dist/Utils/GitVersionChecker.js +0 -64
  357. package/dist/Utils/GitVersionChecker.js.map +0 -1
  358. package/dist/Utils/HelpBanner.d.ts +0 -11
  359. package/dist/Utils/HelpBanner.d.ts.map +0 -1
  360. package/dist/Utils/HelpBanner.js +0 -15
  361. package/dist/Utils/HelpBanner.js.map +0 -1
  362. package/dist/Utils/MaafAppConfig.d.ts +0 -24
  363. package/dist/Utils/MaafAppConfig.d.ts.map +0 -1
  364. package/dist/Utils/MaafAppConfig.js +0 -38
  365. package/dist/Utils/MaafAppConfig.js.map +0 -1
  366. package/dist/Utils/NodeVersionChecker.d.ts +0 -10
  367. package/dist/Utils/NodeVersionChecker.d.ts.map +0 -1
  368. package/dist/Utils/NodeVersionChecker.js +0 -21
  369. package/dist/Utils/NodeVersionChecker.js.map +0 -1
  370. package/dist/Utils/Paging.d.ts +0 -29
  371. package/dist/Utils/Paging.d.ts.map +0 -1
  372. package/dist/Utils/Paging.js +0 -102
  373. package/dist/Utils/Paging.js.map +0 -1
  374. package/dist/Utils/PinCli.d.ts +0 -33
  375. package/dist/Utils/PinCli.d.ts.map +0 -1
  376. package/dist/Utils/PinCli.js +0 -77
  377. package/dist/Utils/PinCli.js.map +0 -1
  378. package/dist/Utils/ReadPackageJson.d.ts +0 -9
  379. package/dist/Utils/ReadPackageJson.d.ts.map +0 -1
  380. package/dist/Utils/ReadPackageJson.js +0 -13
  381. package/dist/Utils/ReadPackageJson.js.map +0 -1
  382. package/dist/Utils/RepoDetails.d.ts +0 -29
  383. package/dist/Utils/RepoDetails.d.ts.map +0 -1
  384. package/dist/Utils/RepoDetails.js +0 -37
  385. package/dist/Utils/RepoDetails.js.map +0 -1
  386. package/dist/Utils/RepoOption.d.ts +0 -42
  387. package/dist/Utils/RepoOption.d.ts.map +0 -1
  388. package/dist/Utils/RepoOption.js +0 -63
  389. package/dist/Utils/RepoOption.js.map +0 -1
  390. package/dist/Utils/RepoUrl.d.ts +0 -18
  391. package/dist/Utils/RepoUrl.d.ts.map +0 -1
  392. package/dist/Utils/RepoUrl.js +0 -6
  393. package/dist/Utils/RepoUrl.js.map +0 -1
  394. package/dist/Utils/ResolveCommand.d.ts +0 -62
  395. package/dist/Utils/ResolveCommand.d.ts.map +0 -1
  396. package/dist/Utils/ResolveCommand.js +0 -141
  397. package/dist/Utils/ResolveCommand.js.map +0 -1
  398. package/dist/Utils/RunCommand.d.ts +0 -33
  399. package/dist/Utils/RunCommand.d.ts.map +0 -1
  400. package/dist/Utils/RunCommand.js +0 -83
  401. package/dist/Utils/RunCommand.js.map +0 -1
  402. package/dist/Utils/ShareAccessRouting.d.ts +0 -78
  403. package/dist/Utils/ShareAccessRouting.d.ts.map +0 -1
  404. package/dist/Utils/ShareAccessRouting.js +0 -93
  405. package/dist/Utils/ShareAccessRouting.js.map +0 -1
  406. package/dist/Utils/Spinner.d.ts +0 -23
  407. package/dist/Utils/Spinner.d.ts.map +0 -1
  408. package/dist/Utils/Spinner.js +0 -94
  409. package/dist/Utils/Spinner.js.map +0 -1
  410. package/dist/Utils/zipBuildArtifact.d.ts +0 -35
  411. package/dist/Utils/zipBuildArtifact.d.ts.map +0 -1
  412. package/dist/Utils/zipBuildArtifact.js +0 -100
  413. package/dist/Utils/zipBuildArtifact.js.map +0 -1
  414. package/dist/Verbs/AddAction.d.ts +0 -6
  415. package/dist/Verbs/AddAction.d.ts.map +0 -1
  416. package/dist/Verbs/AddAction.js +0 -59
  417. package/dist/Verbs/AddAction.js.map +0 -1
  418. package/dist/Verbs/AddConnector.d.ts +0 -26
  419. package/dist/Verbs/AddConnector.d.ts.map +0 -1
  420. package/dist/Verbs/AddConnector.js +0 -223
  421. package/dist/Verbs/AddConnector.js.map +0 -1
  422. package/dist/Verbs/AddConnectorFlows.d.ts +0 -97
  423. package/dist/Verbs/AddConnectorFlows.d.ts.map +0 -1
  424. package/dist/Verbs/AddConnectorFlows.js +0 -298
  425. package/dist/Verbs/AddConnectorFlows.js.map +0 -1
  426. package/dist/Verbs/AddDataSource.d.ts +0 -18
  427. package/dist/Verbs/AddDataSource.d.ts.map +0 -1
  428. package/dist/Verbs/AddDataSource.js +0 -163
  429. package/dist/Verbs/AddDataSource.js.map +0 -1
  430. package/dist/Verbs/AddFlow.d.ts +0 -12
  431. package/dist/Verbs/AddFlow.d.ts.map +0 -1
  432. package/dist/Verbs/AddFlow.js +0 -63
  433. package/dist/Verbs/AddFlow.js.map +0 -1
  434. package/dist/Verbs/AddTable.d.ts +0 -6
  435. package/dist/Verbs/AddTable.d.ts.map +0 -1
  436. package/dist/Verbs/AddTable.js +0 -79
  437. package/dist/Verbs/AddTable.js.map +0 -1
  438. package/dist/Verbs/AuthStatus.d.ts +0 -6
  439. package/dist/Verbs/AuthStatus.d.ts.map +0 -1
  440. package/dist/Verbs/AuthStatus.js +0 -49
  441. package/dist/Verbs/AuthStatus.js.map +0 -1
  442. package/dist/Verbs/AuthSwitch.d.ts +0 -6
  443. package/dist/Verbs/AuthSwitch.d.ts.map +0 -1
  444. package/dist/Verbs/AuthSwitch.js +0 -67
  445. package/dist/Verbs/AuthSwitch.js.map +0 -1
  446. package/dist/Verbs/BuildMaafApp.d.ts +0 -6
  447. package/dist/Verbs/BuildMaafApp.d.ts.map +0 -1
  448. package/dist/Verbs/BuildMaafApp.js +0 -171
  449. package/dist/Verbs/BuildMaafApp.js.map +0 -1
  450. package/dist/Verbs/ConnectorHelpers.d.ts +0 -164
  451. package/dist/Verbs/ConnectorHelpers.d.ts.map +0 -1
  452. package/dist/Verbs/ConnectorHelpers.js +0 -563
  453. package/dist/Verbs/ConnectorHelpers.js.map +0 -1
  454. package/dist/Verbs/CreateMaafApp.d.ts +0 -100
  455. package/dist/Verbs/CreateMaafApp.d.ts.map +0 -1
  456. package/dist/Verbs/CreateMaafApp.js +0 -1022
  457. package/dist/Verbs/CreateMaafApp.js.map +0 -1
  458. package/dist/Verbs/DeleteMaafApp.d.ts +0 -27
  459. package/dist/Verbs/DeleteMaafApp.d.ts.map +0 -1
  460. package/dist/Verbs/DeleteMaafApp.js +0 -114
  461. package/dist/Verbs/DeleteMaafApp.js.map +0 -1
  462. package/dist/Verbs/DeployMaafApp.d.ts +0 -6
  463. package/dist/Verbs/DeployMaafApp.d.ts.map +0 -1
  464. package/dist/Verbs/DeployMaafApp.js +0 -495
  465. package/dist/Verbs/DeployMaafApp.js.map +0 -1
  466. package/dist/Verbs/Dev.d.ts +0 -6
  467. package/dist/Verbs/Dev.d.ts.map +0 -1
  468. package/dist/Verbs/Dev.js +0 -276
  469. package/dist/Verbs/Dev.js.map +0 -1
  470. package/dist/Verbs/FindDataverseApi.d.ts +0 -12
  471. package/dist/Verbs/FindDataverseApi.d.ts.map +0 -1
  472. package/dist/Verbs/FindDataverseApi.js +0 -87
  473. package/dist/Verbs/FindDataverseApi.js.map +0 -1
  474. package/dist/Verbs/GetMaafApp.d.ts +0 -6
  475. package/dist/Verbs/GetMaafApp.d.ts.map +0 -1
  476. package/dist/Verbs/GetMaafApp.js +0 -80
  477. package/dist/Verbs/GetMaafApp.js.map +0 -1
  478. package/dist/Verbs/GetMaafBuildStatus.d.ts +0 -6
  479. package/dist/Verbs/GetMaafBuildStatus.d.ts.map +0 -1
  480. package/dist/Verbs/GetMaafBuildStatus.js +0 -132
  481. package/dist/Verbs/GetMaafBuildStatus.js.map +0 -1
  482. package/dist/Verbs/GetSettings.d.ts +0 -12
  483. package/dist/Verbs/GetSettings.d.ts.map +0 -1
  484. package/dist/Verbs/GetSettings.js +0 -39
  485. package/dist/Verbs/GetSettings.js.map +0 -1
  486. package/dist/Verbs/Init.d.ts +0 -6
  487. package/dist/Verbs/Init.d.ts.map +0 -1
  488. package/dist/Verbs/Init.js +0 -453
  489. package/dist/Verbs/Init.js.map +0 -1
  490. package/dist/Verbs/ListConnectionReferences.d.ts +0 -6
  491. package/dist/Verbs/ListConnectionReferences.d.ts.map +0 -1
  492. package/dist/Verbs/ListConnectionReferences.js +0 -56
  493. package/dist/Verbs/ListConnectionReferences.js.map +0 -1
  494. package/dist/Verbs/ListConnectorActions.d.ts +0 -6
  495. package/dist/Verbs/ListConnectorActions.d.ts.map +0 -1
  496. package/dist/Verbs/ListConnectorActions.js +0 -94
  497. package/dist/Verbs/ListConnectorActions.js.map +0 -1
  498. package/dist/Verbs/ListConnectors.d.ts +0 -6
  499. package/dist/Verbs/ListConnectors.d.ts.map +0 -1
  500. package/dist/Verbs/ListConnectors.js +0 -97
  501. package/dist/Verbs/ListConnectors.js.map +0 -1
  502. package/dist/Verbs/ListDatasets.d.ts +0 -6
  503. package/dist/Verbs/ListDatasets.d.ts.map +0 -1
  504. package/dist/Verbs/ListDatasets.js +0 -73
  505. package/dist/Verbs/ListDatasets.js.map +0 -1
  506. package/dist/Verbs/ListEnvironmentVariables.d.ts +0 -14
  507. package/dist/Verbs/ListEnvironmentVariables.d.ts.map +0 -1
  508. package/dist/Verbs/ListEnvironmentVariables.js +0 -52
  509. package/dist/Verbs/ListEnvironmentVariables.js.map +0 -1
  510. package/dist/Verbs/ListFlows.d.ts +0 -13
  511. package/dist/Verbs/ListFlows.d.ts.map +0 -1
  512. package/dist/Verbs/ListFlows.js +0 -73
  513. package/dist/Verbs/ListFlows.js.map +0 -1
  514. package/dist/Verbs/ListMaafApps.d.ts +0 -84
  515. package/dist/Verbs/ListMaafApps.d.ts.map +0 -1
  516. package/dist/Verbs/ListMaafApps.js +0 -221
  517. package/dist/Verbs/ListMaafApps.js.map +0 -1
  518. package/dist/Verbs/ListSqlStoredProcedures.d.ts +0 -6
  519. package/dist/Verbs/ListSqlStoredProcedures.d.ts.map +0 -1
  520. package/dist/Verbs/ListSqlStoredProcedures.js +0 -75
  521. package/dist/Verbs/ListSqlStoredProcedures.js.map +0 -1
  522. package/dist/Verbs/ListTables.d.ts +0 -6
  523. package/dist/Verbs/ListTables.d.ts.map +0 -1
  524. package/dist/Verbs/ListTables.js +0 -85
  525. package/dist/Verbs/ListTables.js.map +0 -1
  526. package/dist/Verbs/Login.d.ts +0 -6
  527. package/dist/Verbs/Login.d.ts.map +0 -1
  528. package/dist/Verbs/Login.js +0 -39
  529. package/dist/Verbs/Login.js.map +0 -1
  530. package/dist/Verbs/Logout.d.ts +0 -6
  531. package/dist/Verbs/Logout.d.ts.map +0 -1
  532. package/dist/Verbs/Logout.js +0 -34
  533. package/dist/Verbs/Logout.js.map +0 -1
  534. package/dist/Verbs/MaafAppPermissions.d.ts +0 -40
  535. package/dist/Verbs/MaafAppPermissions.d.ts.map +0 -1
  536. package/dist/Verbs/MaafAppPermissions.js +0 -651
  537. package/dist/Verbs/MaafAppPermissions.js.map +0 -1
  538. package/dist/Verbs/Pack.d.ts +0 -71
  539. package/dist/Verbs/Pack.d.ts.map +0 -1
  540. package/dist/Verbs/Pack.js +0 -370
  541. package/dist/Verbs/Pack.js.map +0 -1
  542. package/dist/Verbs/PlayMaafApp.d.ts +0 -22
  543. package/dist/Verbs/PlayMaafApp.d.ts.map +0 -1
  544. package/dist/Verbs/PlayMaafApp.js +0 -147
  545. package/dist/Verbs/PlayMaafApp.js.map +0 -1
  546. package/dist/Verbs/RefreshDataSource.d.ts +0 -21
  547. package/dist/Verbs/RefreshDataSource.d.ts.map +0 -1
  548. package/dist/Verbs/RefreshDataSource.js +0 -89
  549. package/dist/Verbs/RefreshDataSource.js.map +0 -1
  550. package/dist/Verbs/RefreshGitAuth.d.ts +0 -6
  551. package/dist/Verbs/RefreshGitAuth.d.ts.map +0 -1
  552. package/dist/Verbs/RefreshGitAuth.js +0 -155
  553. package/dist/Verbs/RefreshGitAuth.js.map +0 -1
  554. package/dist/Verbs/RemoveDataSource.d.ts +0 -6
  555. package/dist/Verbs/RemoveDataSource.d.ts.map +0 -1
  556. package/dist/Verbs/RemoveDataSource.js +0 -173
  557. package/dist/Verbs/RemoveDataSource.js.map +0 -1
  558. package/dist/Verbs/RemoveFlow.d.ts +0 -12
  559. package/dist/Verbs/RemoveFlow.d.ts.map +0 -1
  560. package/dist/Verbs/RemoveFlow.js +0 -95
  561. package/dist/Verbs/RemoveFlow.js.map +0 -1
  562. package/dist/Verbs/SetSetting.d.ts +0 -12
  563. package/dist/Verbs/SetSetting.d.ts.map +0 -1
  564. package/dist/Verbs/SetSetting.js +0 -133
  565. package/dist/Verbs/SetSetting.js.map +0 -1
  566. package/dist/Verbs/ShareLinkCreate.d.ts +0 -23
  567. package/dist/Verbs/ShareLinkCreate.d.ts.map +0 -1
  568. package/dist/Verbs/ShareLinkCreate.js +0 -73
  569. package/dist/Verbs/ShareLinkCreate.js.map +0 -1
  570. package/dist/Verbs/ShareLinkList.d.ts +0 -16
  571. package/dist/Verbs/ShareLinkList.d.ts.map +0 -1
  572. package/dist/Verbs/ShareLinkList.js +0 -84
  573. package/dist/Verbs/ShareLinkList.js.map +0 -1
  574. package/dist/Verbs/ShareLinkRevoke.d.ts +0 -22
  575. package/dist/Verbs/ShareLinkRevoke.d.ts.map +0 -1
  576. package/dist/Verbs/ShareLinkRevoke.js +0 -137
  577. package/dist/Verbs/ShareLinkRevoke.js.map +0 -1
  578. package/dist/Verbs/ShareList.d.ts +0 -10
  579. package/dist/Verbs/ShareList.d.ts.map +0 -1
  580. package/dist/Verbs/ShareList.js +0 -254
  581. package/dist/Verbs/ShareList.js.map +0 -1
  582. package/dist/Verbs/ShareMaafApp.d.ts +0 -12
  583. package/dist/Verbs/ShareMaafApp.d.ts.map +0 -1
  584. package/dist/Verbs/ShareMaafApp.js +0 -14
  585. package/dist/Verbs/ShareMaafApp.js.map +0 -1
  586. package/dist/Verbs/ShowMaafApp.d.ts +0 -100
  587. package/dist/Verbs/ShowMaafApp.d.ts.map +0 -1
  588. package/dist/Verbs/ShowMaafApp.js +0 -224
  589. package/dist/Verbs/ShowMaafApp.js.map +0 -1
  590. package/dist/Verbs/TelemetrySettings.d.ts +0 -8
  591. package/dist/Verbs/TelemetrySettings.d.ts.map +0 -1
  592. package/dist/Verbs/TelemetrySettings.js +0 -104
  593. package/dist/Verbs/TelemetrySettings.js.map +0 -1
  594. package/dist/Verbs/UnshareMaafApp.d.ts +0 -12
  595. package/dist/Verbs/UnshareMaafApp.d.ts.map +0 -1
  596. package/dist/Verbs/UnshareMaafApp.js +0 -14
  597. package/dist/Verbs/UnshareMaafApp.js.map +0 -1
  598. package/dist/Verbs/VerbConstants.d.ts +0 -629
  599. package/dist/Verbs/VerbConstants.d.ts.map +0 -1
  600. package/dist/Verbs/VerbConstants.js +0 -559
  601. package/dist/Verbs/VerbConstants.js.map +0 -1
  602. package/dist/Verbs/index.d.ts +0 -47
  603. package/dist/Verbs/index.d.ts.map +0 -1
  604. package/dist/Verbs/index.js +0 -47
  605. package/dist/Verbs/index.js.map +0 -1
@@ -1,623 +0,0 @@
1
- /*!
2
- * Copyright (C) Microsoft Corporation. All rights reserved.
3
- */
4
- import { AppConfigFileName } from '@microsoft/managed-apps-common/config';
5
- import { CLI_BINARY_NAME } from './CliConstants.js';
6
- export const HelpStrings = {
7
- global: {
8
- programDescription: `CLI for Microsoft managed apps.`,
9
- cloud: 'Cloud environment to target. Valid values include: public, usgov, usgovhigh, usgovdod, china. Defaults to public.',
10
- },
11
- auth: {
12
- login: {
13
- description: 'Sign in to Microsoft Entra ID.',
14
- examples: [
15
- `${CLI_BINARY_NAME} auth login`,
16
- `${CLI_BINARY_NAME} auth login --account user@contoso.com`,
17
- `${CLI_BINARY_NAME} auth login --device-code`,
18
- ],
19
- options: {
20
- account: 'Username (email) to pre-fill in the browser sign-in prompt. This is a hint passed to the identity provider, not validated against cached accounts — use `auth switch --account` to choose between cached accounts.',
21
- deviceCode: 'Sign in using the device code flow instead of opening a browser. Prints a URL and a code to enter on another device — use this on headless machines or over SSH where no browser is available.',
22
- },
23
- },
24
- logout: {
25
- description: 'Clear all cached credentials. Removes every cached account and the active-account ' +
26
- 'pointer. Use `auth switch` to change which cached account is active without logging out.',
27
- examples: [`${CLI_BINARY_NAME} auth logout`],
28
- },
29
- status: {
30
- description: 'Show cached accounts. The active account (used by other CLI commands) is marked.',
31
- examples: [`${CLI_BINARY_NAME} auth status`, `${CLI_BINARY_NAME} auth status --json`],
32
- },
33
- switch: {
34
- description: 'Choose which cached account other CLI commands run as. When more than one account is cached and --account is omitted, prompts interactively; in non-interactive mode --account is required.',
35
- examples: [
36
- `${CLI_BINARY_NAME} auth switch`,
37
- `${CLI_BINARY_NAME} auth switch --account user@contoso.com`,
38
- ],
39
- options: {
40
- account: 'Username (email) or home account ID of the account to make active.',
41
- },
42
- },
43
- },
44
- app: {
45
- create: {
46
- description: `Create a new managed app and scaffold the app template into an empty target directory. Provisions a platform-managed git repo by default; see --repo to bind an external GitHub repo or skip git scaffolding. To bind an existing project instead, use '${CLI_BINARY_NAME} app init'.`,
47
- options: {
48
- environmentId: 'Target environment ID for the new managed app (optional).',
49
- displayName: 'Display name for the managed app.',
50
- description: 'Optional description for the managed app.',
51
- repositoryId: 'Repository ID to associate with the managed app for source control.',
52
- template: 'GitHub repository or subpath to scaffold the managed app from (e.g. github:owner/repo/subdir). Defaults to github:microsoft/Managed-Apps/templates/vite8. Applies to all --repo modes (native, --repo <url>, and --repo none).',
53
- buildPath: 'Path to the build output directory. Defaults to ./dist.',
54
- buildCommand: 'Full shell command used to build the app. Defaults to "npm run build".',
55
- buildEntryPoint: 'Entry point HTML file for the app. Defaults to index.html.',
56
- repo: "Source-control binding for the new app. Omit to use the default platform-managed flow. Pass a repository URL — for example a GitHub Enterprise Cloud tenant URL (e.g. https://myorg.ghe.com/contoso/expense-tracker) or github.com (e.g. https://github.com/contoso/expense-tracker) — to bind to an external repo; the repo must already exist and must be empty, and the CLI clones it into [directory] and overlays the template. The server is the authority on which hosts/schemes are accepted. Pass '--repo none' to skip all git binding: the CLI scaffolds the template and writes ms.config.json into [directory] but does not init a local git repo or bind to a remote. The target directory must be empty in every mode — to bind an existing project to a new app, use 'ms app init' instead. Cannot be combined with --repository-id.",
57
- openBrowser: 'Launch the browser to complete the GitHub device code flow during inline GitHub authentication. Default: do not launch. Has no effect when `--json` is set (JSON mode never launches a browser).',
58
- forceReauth: 'Bypass the stored GitHub authentication mapping and force re-authentication via device code flow, as if the mapping had expired. Has no effect on apps not bound to an external GitHub repository.',
59
- },
60
- examples: [
61
- `${CLI_BINARY_NAME} app create --display-name "My App" --repository-id <id>`,
62
- `${CLI_BINARY_NAME} app create ./my-app --display-name "My App" --repository-id <id>`,
63
- `${CLI_BINARY_NAME} app create ./my-app --display-name "My App" --repository-id <id> --description "A description"`,
64
- `${CLI_BINARY_NAME} app create ./my-app --display-name "My App" --repo https://myorg.ghe.com/contoso/expense-tracker`,
65
- `${CLI_BINARY_NAME} app create ./my-app --display-name "My App" --repo none`,
66
- ],
67
- },
68
- init: {
69
- description: `Convert an existing project into a managed app.`,
70
- options: {
71
- environmentId: 'Target environment ID for the new managed app (optional).',
72
- cloud: 'Cloud environment to target. Valid values include: public, usgov, usgovhigh, usgovdod, china. Defaults to public.',
73
- displayName: 'Display name for the managed app.',
74
- description: 'Optional description for the managed app.',
75
- buildPath: 'Path to the build output directory. Defaults to ./dist.',
76
- buildCommand: 'Full shell command used to build the app. Defaults to "npm run build".',
77
- fileEntryPoint: 'Entry point HTML file for the app. Defaults to index.html.',
78
- appUrl: 'Local development URL for the app. Defaults to http://localhost:3000.',
79
- buildEntryPoint: 'Entry point HTML file for the app. Defaults to index.html.',
80
- repo: "Repository behavior for init. Pass '--repo native' to force a platform-managed repo without inspecting the current git setup. Pass '--repo none' to use BYO build flow (no platform-managed repo). Pass '--repo <repo-url>' to bind to an existing GitHub repo (current directory must already contain the cloned repo). Omit to auto-detect current git setup and prompt in interactive mode.",
81
- iconPath: 'Optional path to a .png or .jpg app icon, written to ms.config.json as iconPath.',
82
- localAppUrl: 'Optional local development URL for the app, written to ms.config.json as localAppUrl.',
83
- openBrowser: 'Launch the browser to complete the GitHub device code flow during inline GitHub authentication. Default: do not launch. Has no effect when `--json` is set (JSON mode never launches a browser).',
84
- forceReauth: 'Bypass the stored GitHub authentication mapping and force re-authentication via device code flow, as if the mapping had expired. Has no effect on apps not bound to an external GitHub repository.',
85
- },
86
- examples: [
87
- `${CLI_BINARY_NAME} app init --display-name "My App" --environment-id <id>`,
88
- `${CLI_BINARY_NAME} app init --display-name "My App" --environment-id <id> --description "A description"`,
89
- `${CLI_BINARY_NAME} app init --display-name "My App" --environment-id <id> --build-path ./out`,
90
- `${CLI_BINARY_NAME} app init --display-name "My App" --repo none`,
91
- `${CLI_BINARY_NAME} app init --display-name "My App" --repo https://myorg.ghe.com/contoso/expense-tracker`,
92
- ],
93
- },
94
- list: {
95
- description: 'List all apps you have access to with play URLs. Interactive text output shows edit access; non-interactive and JSON output include clone URL details when available for edit access. By default returns both edit and play access apps across the tenant; pass --environment-id to filter to a single environment.',
96
- options: {
97
- environmentId: 'Optional environment ID to scope the listing to. When omitted, all apps the user can access across the tenant are returned.',
98
- permission: 'Optional permission filter. Use `edit` for apps the user can contribute to, or `play` for apps the user can play/view. Omit to return both. Case-insensitive.',
99
- },
100
- examples: [
101
- `${CLI_BINARY_NAME} app list`,
102
- `${CLI_BINARY_NAME} app list --json`,
103
- `${CLI_BINARY_NAME} app list --environment-id <id>`,
104
- `${CLI_BINARY_NAME} app list --permission play`,
105
- ],
106
- },
107
- info: {
108
- description: `Get details for an app.`,
109
- options: {
110
- app: 'The app identifier to retrieve (logical name or app ID GUID).',
111
- environmentId: `Override the environment ID. Defaults to environmentId in ${AppConfigFileName}; when neither is set, the environment is resolved automatically from the app identifier.`,
112
- },
113
- examples: [
114
- `${CLI_BINARY_NAME} app info --app my-app`,
115
- `${CLI_BINARY_NAME} app info --app <guid>`,
116
- `${CLI_BINARY_NAME} app info --app my-app --json`,
117
- ],
118
- },
119
- show: {
120
- description: `Show an app's configuration and bound resources.`,
121
- examples: [`${CLI_BINARY_NAME} app show`, `${CLI_BINARY_NAME} app show --json`],
122
- },
123
- delete: {
124
- description: 'Delete an app. Soft-deletes the app and cleans up related metadata.',
125
- options: {
126
- app: `The app name to delete. Defaults to the current app in ${AppConfigFileName}.`,
127
- environmentId: 'Override the environment ID. When omitted, the environment is resolved automatically from the app. Useful for deleting an app from outside its scaffolded directory.',
128
- force: 'Skip the confirmation prompt.',
129
- },
130
- examples: [
131
- `${CLI_BINARY_NAME} app delete`,
132
- `${CLI_BINARY_NAME} app delete --app my-app`,
133
- `${CLI_BINARY_NAME} app delete --app my-app --environment-id <id> --force`,
134
- `${CLI_BINARY_NAME} app delete --json --force`,
135
- ],
136
- },
137
- share: {
138
- description: 'Share an app with users or groups. Provide one or more users or groups as a comma-separated list of email addresses or Entra (AAD) object IDs. Use --access play (default) to grant play access to the app, or --access edit to grant edit access to the underlying repository. To distribute access via a tenant-wide link instead of named users or groups, use `ms app share link create` (run `ms app share link --help` for the full link surface).',
139
- options: {
140
- app: `The app name to share. Defaults to the current app in ${AppConfigFileName}.`,
141
- access: 'Access level to grant: "play" (default — run the app) or "edit" (modify the app).',
142
- },
143
- examples: [
144
- `${CLI_BINARY_NAME} app share alice@contoso.com,bob@contoso.com`,
145
- `${CLI_BINARY_NAME} app share --app my-app <aad-id>`,
146
- `${CLI_BINARY_NAME} app share alice@contoso.com --access edit`,
147
- `${CLI_BINARY_NAME} app share alice@contoso.com --json`,
148
- `${CLI_BINARY_NAME} app share link create`,
149
- ],
150
- list: {
151
- description: 'List the users and groups an app is shared with at a given access level.',
152
- options: {
153
- app: `The app name. Defaults to the current app in ${AppConfigFileName}.`,
154
- environmentId: `Override the environment ID. Defaults to environmentId in ${AppConfigFileName}.`,
155
- access: 'Access level to list (required): "play" (run the app) or "edit" (modify the app).',
156
- },
157
- examples: [
158
- `${CLI_BINARY_NAME} app share list --access play`,
159
- `${CLI_BINARY_NAME} app share list --access edit`,
160
- `${CLI_BINARY_NAME} app share list --access edit --app my-app`,
161
- `${CLI_BINARY_NAME} app share list --access play --json`,
162
- ],
163
- },
164
- },
165
- unshare: {
166
- description: 'Unshare an app from users or groups. Provide one or more users or groups as a comma-separated list of email addresses or Entra (AAD) object IDs. Use --access play (default) to revoke play access on the app, or --access edit to revoke edit access on the underlying repository. Each invocation only touches the requested access level.',
167
- options: {
168
- app: `The app name to unshare. Defaults to the current app in ${AppConfigFileName}.`,
169
- access: 'Access level to revoke: "play" (default — app access) or "edit" (repository access).',
170
- },
171
- examples: [
172
- `${CLI_BINARY_NAME} app unshare alice@contoso.com,bob@contoso.com`,
173
- `${CLI_BINARY_NAME} app unshare --app my-app <aad-id>`,
174
- `${CLI_BINARY_NAME} app unshare alice@contoso.com --access edit`,
175
- `${CLI_BINARY_NAME} app unshare alice@contoso.com --json`,
176
- ],
177
- },
178
- shareLink: {
179
- description: 'Manage tenant-wide share links for a managed app. A share link is a JIT-redemption URL: the first time a recipient opens it, they are granted the configured role at the app scope. Links can be listed and revoked at any time.',
180
- create: {
181
- description: `Create a share link for a managed app. The link grants the "Microsoft App Reader" role at the app scope on redemption. Only this role is supported today; the enum is open server-side for future expansion.`,
182
- options: {
183
- app: `The app name to share. Defaults to the current app in ${AppConfigFileName}.`,
184
- environmentId: `Override the environment ID. Defaults to environmentId in ${AppConfigFileName}.`,
185
- },
186
- examples: [
187
- `${CLI_BINARY_NAME} app share link create`,
188
- `${CLI_BINARY_NAME} app share link create --app my-app`,
189
- `${CLI_BINARY_NAME} app share link create --json`,
190
- ],
191
- },
192
- list: {
193
- description: 'List all share links currently issued for a managed app.',
194
- options: {
195
- app: `The app name. Defaults to the current app in ${AppConfigFileName}.`,
196
- environmentId: `Override the environment ID. Defaults to environmentId in ${AppConfigFileName}.`,
197
- },
198
- examples: [
199
- `${CLI_BINARY_NAME} app share link list`,
200
- `${CLI_BINARY_NAME} app share link list --app my-app`,
201
- `${CLI_BINARY_NAME} app share link list --json`,
202
- ],
203
- },
204
- revoke: {
205
- description: 'Revoke a share link by ID. The server attempts to remove the role assignment for every prior redeemer before tearing down the link record; new recipients can no longer redeem the link.',
206
- options: {
207
- app: `The app name. Defaults to the current app in ${AppConfigFileName}.`,
208
- environmentId: `Override the environment ID. Defaults to environmentId in ${AppConfigFileName}.`,
209
- linkId: 'The share link ID (4-char lowercase hex) returned at creation time.',
210
- force: 'Skip the confirmation prompt.',
211
- },
212
- examples: [
213
- `${CLI_BINARY_NAME} app share link revoke --link-id a3f1`,
214
- `${CLI_BINARY_NAME} app share link revoke --link-id a3f1 --force`,
215
- `${CLI_BINARY_NAME} app share link revoke --link-id a3f1 --app my-app --json`,
216
- ],
217
- },
218
- },
219
- build: {
220
- description: 'Initiate a build for an app. By default the CLI waits for build-status to reach a terminal state; pass --no-wait to return immediately after submission.',
221
- options: {
222
- appName: 'The app name to build.',
223
- commitSha: 'The commit ID to build from.',
224
- openBrowser: 'Launch the browser to complete the GitHub device code flow during inline GitHub authentication. Default: do not launch. Has no effect when `--json` is set (JSON mode never launches a browser). Only relevant for apps bound to an external GitHub repository.',
225
- noWait: 'Return immediately after submitting the build and print a build-status hint.',
226
- forceReauth: 'Bypass the stored GitHub authentication mapping and force re-authentication via device code flow, as if the mapping had expired. Has no effect on apps not bound to an external GitHub repository.',
227
- },
228
- examples: [
229
- `${CLI_BINARY_NAME} app build --app my-app --commit abc1234`,
230
- `${CLI_BINARY_NAME} app build --app my-app --commit abc1234 --no-wait`,
231
- `${CLI_BINARY_NAME} app build --app my-app --commit abc1234 --json`,
232
- ],
233
- },
234
- buildStatus: {
235
- description: 'Check the status of a build.',
236
- options: {
237
- appName: 'The app name.',
238
- commitSha: 'The commit ID for which a build was initiated by app build.',
239
- showLog: 'Fetch and print the build log when available.',
240
- },
241
- examples: [
242
- `${CLI_BINARY_NAME} app build-status --app my-app --commit <sha>`,
243
- `${CLI_BINARY_NAME} app build-status --app my-app --commit <sha> --show-log`,
244
- `${CLI_BINARY_NAME} app build-status --app my-app --commit <sha> --json`,
245
- ],
246
- },
247
- deploy: {
248
- description: `Build and deploy an app to live. Behavior depends on the app's repoType in ${AppConfigFileName}: git-backed apps (native/github) deploy a commit (default HEAD; override with --commit). External-artifact apps (repoType: 'none') pack and upload locally, or upload a pre-built .zip when --artifact is supplied.`,
249
- options: {
250
- app: `The app name to deploy. Defaults to the current app in ${AppConfigFileName}.`,
251
- commit: 'The commit ID to deploy (git-backed apps only). Defaults to the commit at HEAD.',
252
- artifact: "Path to a local .zip build artifact to upload and deploy. Only valid for apps created with repoType: 'none'; rejected on git-backed apps. Mutually exclusive with --commit.",
253
- force: 'Deploy even when the working tree has uncommitted changes or local main is ahead of origin/main. Skips the confirmation prompt in interactive mode and the validation error in non-interactive mode.',
254
- openBrowser: 'Launch the browser to complete the GitHub device code flow during inline GitHub authentication. Default: do not launch. Has no effect when `--json` is set (JSON mode never launches a browser). Only relevant for apps bound to an external GitHub repository.',
255
- forceReauth: 'Bypass the stored GitHub authentication mapping and force re-authentication via device code flow, as if the mapping had expired. Has no effect on apps not bound to an external GitHub repository.',
256
- },
257
- examples: [
258
- `${CLI_BINARY_NAME} app deploy`,
259
- `${CLI_BINARY_NAME} app deploy --app my-app --commit abc1234`,
260
- `${CLI_BINARY_NAME} app deploy --force`,
261
- `${CLI_BINARY_NAME} app deploy --artifact ./build.zip`,
262
- `${CLI_BINARY_NAME} app deploy --app my-app --commit abc1234 --json`,
263
- ],
264
- },
265
- pack: {
266
- description: `Build the app and copy the output to .ms/packed/apps/<appId>/client/ for local inspection.`,
267
- examples: [`${CLI_BINARY_NAME} app pack`],
268
- },
269
- play: {
270
- description: `Open a managed app in the browser. Use --mode live (default) to launch the deployed version, or --mode preview to preview the app on the main branch, or the provided commit ID.`,
271
- options: {
272
- app: `The app name to play. Defaults to the current app in ${AppConfigFileName}.`,
273
- mode: `Which app to open: 'live' (default — the deployed version) or 'preview'.`,
274
- commit: `Preview mode only. The commit ID to open. When omitted, defaults to HEAD on main.`,
275
- noBrowser: `Print the URL but do not open a browser window.`,
276
- },
277
- examples: [
278
- `${CLI_BINARY_NAME} app play`,
279
- `${CLI_BINARY_NAME} app play --mode preview`,
280
- `${CLI_BINARY_NAME} app play --mode preview --commit abc1234`,
281
- `${CLI_BINARY_NAME} app play --app my-app --no-browser`,
282
- `${CLI_BINARY_NAME} app play --json`,
283
- ],
284
- },
285
- dev: {
286
- description: `Start local development.`,
287
- options: {
288
- port: 'Port number for the local config server.',
289
- localAppUrl: 'Local URL where the app is running.',
290
- configOnly: 'Start only the config server without running the dev script. Use this if you want to manage your dev server separately.',
291
- },
292
- examples: [
293
- `${CLI_BINARY_NAME} app dev`,
294
- `${CLI_BINARY_NAME} app dev --port 8080 --local-app-url http://localhost:3000`,
295
- `${CLI_BINARY_NAME} app dev --local-app-url http://localhost:3000 --config-only`,
296
- ],
297
- },
298
- refresh: {
299
- description: `Refresh data sources in an app.`,
300
- dataSource: {
301
- description: `Re-fetch data source metadata from the service and regenerate TypeScript.`,
302
- options: {
303
- offline: "Regenerate TypeScript from the local schemas in '.ms/schemas' without contacting the service (no network or authentication). Omit to re-fetch metadata from the service and regenerate.",
304
- name: 'Name of a specific data source to refresh. Omit to refresh all.',
305
- },
306
- examples: [
307
- `${CLI_BINARY_NAME} app refresh data-source`,
308
- `${CLI_BINARY_NAME} app refresh data-source --name teams`,
309
- `${CLI_BINARY_NAME} app refresh data-source --offline`,
310
- ],
311
- },
312
- },
313
- add: {
314
- description: `Add a data source to the current app.`,
315
- options: {
316
- connector: 'Connector identifier.',
317
- connectionId: 'Connection identifier.',
318
- connectionRef: 'Connection reference name.',
319
- resourceName: 'Table or resource name.',
320
- dataset: 'Dataset identifier.',
321
- sqlStoredProcedure: 'SQL stored procedure name.',
322
- solutionId: 'Solution identifier.',
323
- skipCodegen: 'Skip TypeScript code generation after adding the data source.',
324
- },
325
- examples: [
326
- `${CLI_BINARY_NAME} app add data-source --connector shared_office365`,
327
- `${CLI_BINARY_NAME} app add table --connector shared_sql --connection-id <id> --dataset <db> --table <tbl>`,
328
- `${CLI_BINARY_NAME} app add procedure --connector shared_sql --connection-id <id> --dataset <db>`,
329
- ],
330
- action: {
331
- description: 'Add a connector to the app as an action data source.',
332
- options: {
333
- connector: 'Connector identifier (e.g. shared_office365).',
334
- connectionId: 'Connection identifier. Required for multi-auth connectors; prompted interactively when omitted.',
335
- skipCodegen: 'Skip TypeScript code generation after adding the connector.',
336
- },
337
- examples: [
338
- `${CLI_BINARY_NAME} app add action --connector shared_office365`,
339
- `${CLI_BINARY_NAME} app add action --connector shared_sql --connection-id <id>`,
340
- `${CLI_BINARY_NAME} app add action --connector shared_office365 --skip-codegen`,
341
- ],
342
- },
343
- table: {
344
- description: 'Add a connector table to the app as a tabular data source.',
345
- options: {
346
- connector: 'Connector identifier (e.g. shared_sql, shared_sharepointonline).',
347
- connectionId: 'Connection ID to use. If omitted, you will be prompted to select one.',
348
- dataset: 'Dataset name (e.g. a SQL server/database or SharePoint site URL). If omitted, you will be prompted.',
349
- table: 'Table name. If omitted, you will be prompted to select one.',
350
- skipCodegen: 'Skip TypeScript model service generation after adding the table.',
351
- },
352
- examples: [
353
- `${CLI_BINARY_NAME} app add table --connector shared_sql`,
354
- `${CLI_BINARY_NAME} app add table --connector shared_sql --connection-id <id> --dataset <db> --table <tbl>`,
355
- `${CLI_BINARY_NAME} app add table --connector shared_sharepointonline --skip-codegen`,
356
- ],
357
- },
358
- connector: {
359
- description: 'Add a data source (a connector table or action) to the app.',
360
- options: {
361
- connector: 'Connector ID (e.g. shared_office365, shared_sql) or display name (e.g. "Office 365 Users"). Run `ms connector list` to browse connectors.',
362
- connectionId: 'Connection ID to use. If omitted: interactive mode prompts you to pick or create one; ' +
363
- 'non-interactive mode reuses your only connection, silently creates one for connectors ' +
364
- 'whose sole authentication type is single sign-on when none exist, or errors when the ' +
365
- 'choice is ambiguous. Pass --use-sso to reuse an existing SSO connection (or silently ' +
366
- 'create one) for any SSO-capable connector, not just SSO-only ones.',
367
- dataset: 'Dataset name (only used when adding as a table). If omitted in table mode, you will be prompted.',
368
- table: 'Table name. In table mode this is the table name within the dataset. With --connector shared_commondataserviceforapps it is the Dataverse table logical name (e.g. account). If omitted, you will be prompted.',
369
- as: 'Force the dispatch to "table" or "action". Required in non-interactive mode when the connector supports tables.',
370
- dataverseEnvironmentId: 'Dataverse environment ID (GUID). Only used with --connector shared_commondataserviceforapps to bind to a specific table.',
371
- useSso: 'Prefer a single sign-on (Entra ID) connection: reuse the first existing SSO connection ' +
372
- 'when one exists, otherwise silently create one. Works even when the connector offers other ' +
373
- 'authentication types. Errors if the connector is not SSO-capable. Ignored when ' +
374
- '--connection-id is supplied.',
375
- skipCodegen: 'Skip TypeScript code generation after adding the data source.',
376
- },
377
- examples: [
378
- `${CLI_BINARY_NAME} app add data-source --connector shared_office365`,
379
- `${CLI_BINARY_NAME} app add data-source --connector "Office 365 Users"`,
380
- `${CLI_BINARY_NAME} app add data-source --connector shared_sql --as table --connection-id <id> --dataset <db> --table <tbl>`,
381
- `${CLI_BINARY_NAME} app add data-source --connector "SQL Server" --as table --connection-id <id> --dataset <db> --table <tbl>`,
382
- `${CLI_BINARY_NAME} app add data-source --connector shared_sharepointonline --as action`,
383
- `${CLI_BINARY_NAME} app add data-source --connector "SharePoint" --as action`,
384
- `${CLI_BINARY_NAME} app add data-source --connector shared_office365 --as action --use-sso`,
385
- `${CLI_BINARY_NAME} app add data-source --connector shared_sql --as table --skip-codegen`,
386
- `${CLI_BINARY_NAME} app add data-source --connector shared_commondataserviceforapps --as action --connection-id <id> --dataverse-environment-id <env-guid> --table account`,
387
- ],
388
- deprecation: `(deprecated) '${CLI_BINARY_NAME} app add connector' is deprecated. Use '${CLI_BINARY_NAME} app add data-source' instead.`,
389
- deprecatedExamples: [
390
- `${CLI_BINARY_NAME} app add connector --connector shared_office365`,
391
- `${CLI_BINARY_NAME} app add connector --connector shared_sql --as table --connection-id <id> --dataset <db> --table <tbl>`,
392
- `${CLI_BINARY_NAME} app add connector --connector shared_sharepointonline --as action`,
393
- `${CLI_BINARY_NAME} app add connector --connector shared_sql --as table --skip-codegen`,
394
- `${CLI_BINARY_NAME} app add connector --connector shared_commondataserviceforapps --as action --connection-id <id> --dataverse-environment-id <env-guid> --table account`,
395
- ],
396
- },
397
- },
398
- remove: {
399
- description: `Remove a data source (table or action) from the app.`,
400
- options: {
401
- dataSourceName: 'Name of the data source to remove.',
402
- force: 'Skip confirmation prompt.',
403
- },
404
- examples: [
405
- `${CLI_BINARY_NAME} app remove data-source`,
406
- `${CLI_BINARY_NAME} app remove data-source --name documents`,
407
- `${CLI_BINARY_NAME} app remove data-source --name orders --force`,
408
- ],
409
- deprecation: `(deprecated) '${CLI_BINARY_NAME} app remove connector' is deprecated. Use '${CLI_BINARY_NAME} app remove data-source' instead.`,
410
- deprecatedExamples: [
411
- `${CLI_BINARY_NAME} app remove connector`,
412
- `${CLI_BINARY_NAME} app remove connector --name documents`,
413
- `${CLI_BINARY_NAME} app remove connector --name orders --force`,
414
- ],
415
- },
416
- 'get-settings': {
417
- description: 'View all app settings.',
418
- examples: [
419
- `${CLI_BINARY_NAME} app get-settings`,
420
- `${CLI_BINARY_NAME} app get-settings --json`,
421
- ],
422
- },
423
- 'set-setting': {
424
- description: `Update app settings. Changes are written to ${AppConfigFileName} and take effect the next time you run '${CLI_BINARY_NAME} app dev' or '${CLI_BINARY_NAME} app deploy'.`,
425
- options: {
426
- 'show-header': 'Show or hide the app header bar (true or false).',
427
- },
428
- examples: [`${CLI_BINARY_NAME} app set-setting --show-header false`],
429
- },
430
- },
431
- connector: {
432
- list: {
433
- description: 'List connectors available in the environment. By default all connectors are shown, including those blocked by tenant policy; pass --only-allowed to list only connectors allowed by tenant policy.',
434
- hint: 'Use the value in the "Connector" column as the ID (e.g. shared_office365), or pass the display name directly (e.g. "Office 365 Users") to add commands.',
435
- options: {
436
- environmentId: 'Environment ID (optional).',
437
- search: 'Filter connectors by display name or connector ID (case-insensitive).',
438
- onlyAllowed: 'List only connectors allowed by tenant policy. By default all connectors are listed, including blocked ones.',
439
- },
440
- examples: [
441
- `${CLI_BINARY_NAME} connector list`,
442
- `${CLI_BINARY_NAME} connector list --search "sql"`,
443
- `${CLI_BINARY_NAME} connector list --only-allowed`,
444
- `${CLI_BINARY_NAME} connector list --environment-id <env-id>`,
445
- `${CLI_BINARY_NAME} connector list --json`,
446
- ],
447
- },
448
- 'list-actions': {
449
- description: 'List actions available on a connector with their policy behavior.',
450
- options: {
451
- connector: 'Connector identifier (e.g. shared_office365).',
452
- environmentId: 'Environment ID (optional).',
453
- search: 'Filter actions by summary or action ID (case-insensitive).',
454
- },
455
- examples: [
456
- `${CLI_BINARY_NAME} connector list-actions --connector shared_office365`,
457
- `${CLI_BINARY_NAME} connector list-actions --connector shared_sql --search "execute"`,
458
- `${CLI_BINARY_NAME} connector list-actions --connector shared_office365 --environment-id <env-id>`,
459
- `${CLI_BINARY_NAME} connector list-actions --connector shared_office365 --json`,
460
- ],
461
- },
462
- },
463
- telemetry: {
464
- enable: {
465
- description: 'Enable telemetry collection. Defaults to --remote if no target is specified.',
466
- options: {
467
- remote: 'Enable sending telemetry to the cloud service (default).',
468
- console: 'Enable outputting telemetry to the local console.',
469
- },
470
- examples: [
471
- `${CLI_BINARY_NAME} telemetry enable`,
472
- `${CLI_BINARY_NAME} telemetry enable --console`,
473
- `${CLI_BINARY_NAME} telemetry enable --remote --console`,
474
- ],
475
- },
476
- disable: {
477
- description: 'Disable telemetry collection. Defaults to --remote if no target is specified.',
478
- options: {
479
- remote: 'Disable sending telemetry to the cloud service (default).',
480
- console: 'Disable outputting telemetry to the local console.',
481
- },
482
- examples: [
483
- `${CLI_BINARY_NAME} telemetry disable`,
484
- `${CLI_BINARY_NAME} telemetry disable --console`,
485
- `${CLI_BINARY_NAME} telemetry disable --remote --console`,
486
- ],
487
- },
488
- status: {
489
- description: 'Show the current telemetry settings.',
490
- examples: [
491
- `${CLI_BINARY_NAME} telemetry status`,
492
- `${CLI_BINARY_NAME} telemetry status --json`,
493
- ],
494
- },
495
- },
496
- /**
497
- * @deprecated Strings referenced only by verb files that are no longer wired to the
498
- * command tree (AddFlow, BuildMaafApp, GetMaafBuildStatus, ListConnectionReferences,
499
- * ListDatasets, ListEnvironmentVariables, ListFlows, ListSqlStoredProcedures, ListTables,
500
- * RemoveFlow). Delete this entire block when those files are removed.
501
- */
502
- deprecated: {
503
- Verbs: {
504
- 'Add-flow': {
505
- Description: `Add a cloud flow to the current app by flow ID.`,
506
- Options: {
507
- FlowId: 'The unique identifier (GUID) of the flow to add.',
508
- },
509
- },
510
- 'Build-app': {
511
- Description: 'Initiate a build for the app. By default waits for the build to reach a terminal state; pass --no-wait to return immediately after submission.',
512
- Options: {
513
- AppName: 'The app name to build.',
514
- CommitSha: 'The commit ID to build. Defaults to the commit at HEAD.',
515
- NoWait: 'Return immediately after submitting the build.',
516
- },
517
- Examples: [
518
- `${CLI_BINARY_NAME} app build --app my-app --commit abc1234`,
519
- `${CLI_BINARY_NAME} app build --app my-app --commit abc1234 --no-wait`,
520
- `${CLI_BINARY_NAME} app build --app my-app --commit abc1234 --json`,
521
- ],
522
- },
523
- 'Get-build-status': {
524
- Description: 'Get the status of an app build operation.',
525
- Options: {
526
- AppName: 'The app name.',
527
- CommitSha: 'The commit ID for which a build was initiated by app build.',
528
- },
529
- Examples: [
530
- `${CLI_BINARY_NAME} app build-status --app my-app --commit <sha>`,
531
- `${CLI_BINARY_NAME} app build-status --app my-app --commit <sha> --json`,
532
- ],
533
- },
534
- 'List-connection-references': {
535
- Description: 'List all connection references in the environment.',
536
- Options: {
537
- SolutionId: 'Solution identifier to filter by.',
538
- },
539
- Examples: [
540
- `${CLI_BINARY_NAME} connection list-references`,
541
- `${CLI_BINARY_NAME} connection list-references --json`,
542
- ],
543
- },
544
- 'List-datasets': {
545
- Description: 'List all datasets for a connection.',
546
- Options: {
547
- Connector: 'Connector identifier.',
548
- Connection: 'Connection identifier.',
549
- },
550
- Examples: [
551
- `${CLI_BINARY_NAME} connection list-datasets --connector shared_sql --connection <id>`,
552
- `${CLI_BINARY_NAME} connection list-datasets --connector shared_sql --connection <id> --json`,
553
- ],
554
- },
555
- 'List-environment-variables': {
556
- Description: 'List all environment variables in the environment.',
557
- Examples: [
558
- `${CLI_BINARY_NAME} environment list-variables`,
559
- `${CLI_BINARY_NAME} environment list-variables --json`,
560
- ],
561
- },
562
- 'List-flows': {
563
- Description: 'List all solution cloud flows that are invokable from the app.',
564
- Options: {
565
- Search: 'Filter flows by name (case-insensitive substring match)',
566
- },
567
- Examples: [
568
- `${CLI_BINARY_NAME} app list-flows`,
569
- `${CLI_BINARY_NAME} app list-flows --search "approval" --json`,
570
- ],
571
- },
572
- 'List-sqlStoredProcedures': {
573
- Description: 'List all SQL stored procedures for a dataset.',
574
- Options: {
575
- Connection: 'Connection identifier.',
576
- Dataset: 'Dataset name.',
577
- },
578
- Examples: [
579
- `${CLI_BINARY_NAME} connection list-procedures --connection <id> --dataset <db>`,
580
- `${CLI_BINARY_NAME} connection list-procedures --connection <id> --dataset <db> --json`,
581
- ],
582
- },
583
- 'List-tables': {
584
- Description: 'List all tables for a dataset.',
585
- Options: {
586
- Connector: 'Connector identifier.',
587
- Connection: 'Connection identifier.',
588
- Dataset: 'Dataset name.',
589
- },
590
- Examples: [
591
- `${CLI_BINARY_NAME} connection list-tables --connector shared_sql --connection <id> --dataset <db>`,
592
- `${CLI_BINARY_NAME} connection list-tables --connector shared_sql --connection <id> --dataset <db> --json`,
593
- ],
594
- },
595
- 'Remove-flow': {
596
- Description: `Remove a cloud flow from the current app.`,
597
- Options: {
598
- FlowDataSourceName: 'The flow data source name to remove (as it appears in ms.config). Provide either this or --flow-id.',
599
- FlowId: 'The flow resource ID (GUID) to remove — same ID used with app add flow. Provide either this or --flow-name.',
600
- },
601
- },
602
- },
603
- },
604
- git: {
605
- auth: {
606
- refresh: {
607
- description: 'Authenticate against a GitHub repository so subsequent app create / deploy / preview / build ' +
608
- 'commands targeting that repo know your GitHub identity. Runs the GitHub device code flow via ' +
609
- 'the Managed Apps GitHub App; no GitHub token is stored locally.',
610
- options: {
611
- repo: 'GitHub repository URL (e.g. https://contoso.ghe.com/contoso/my-app or https://github.com/contoso/my-app). The Managed Apps GitHub App is the only supported provider; the server enforces which hosts/tenants are accepted.',
612
- openBrowser: 'Launch the browser to complete the GitHub device code flow. Default: do not launch.',
613
- },
614
- examples: [
615
- `${CLI_BINARY_NAME} git auth refresh --repo https://contoso.ghe.com/contoso/my-app`,
616
- `${CLI_BINARY_NAME} git auth refresh -r https://contoso.ghe.com/contoso/my-app --open-browser`,
617
- `${CLI_BINARY_NAME} git auth refresh --repo https://contoso.ghe.com/contoso/my-app --json`,
618
- ],
619
- },
620
- },
621
- },
622
- };
623
- //# sourceMappingURL=HelpStrings.js.map