@microsoft/apps-cli 0.0.1 → 0.4.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.
- package/README.md +281 -1
- package/dist/ArgumentProvider.d.ts +102 -0
- package/dist/ArgumentProvider.d.ts.map +1 -0
- package/dist/ArgumentProvider.js +376 -0
- package/dist/ArgumentProvider.js.map +1 -0
- package/dist/Authentication/NodeMsalAuthenticationProvider.d.ts +18 -0
- package/dist/Authentication/NodeMsalAuthenticationProvider.d.ts.map +1 -0
- package/dist/Authentication/NodeMsalAuthenticationProvider.js +99 -0
- package/dist/Authentication/NodeMsalAuthenticationProvider.js.map +1 -0
- package/dist/Authentication/OrchardAuthenticationProvider.d.ts +13 -0
- package/dist/Authentication/OrchardAuthenticationProvider.d.ts.map +1 -0
- package/dist/Authentication/OrchardAuthenticationProvider.js +30 -0
- package/dist/Authentication/OrchardAuthenticationProvider.js.map +1 -0
- package/dist/Authentication/ServicePrincipalAuthenticationProvider.d.ts +23 -0
- package/dist/Authentication/ServicePrincipalAuthenticationProvider.d.ts.map +1 -0
- package/dist/Authentication/ServicePrincipalAuthenticationProvider.js +60 -0
- package/dist/Authentication/ServicePrincipalAuthenticationProvider.js.map +1 -0
- package/dist/Bin.d.ts +6 -0
- package/dist/Bin.d.ts.map +1 -0
- package/dist/Bin.js +7 -0
- package/dist/Bin.js.map +1 -0
- package/dist/Cli.d.ts +2 -0
- package/dist/Cli.d.ts.map +1 -0
- package/dist/Cli.js +95 -0
- package/dist/Cli.js.map +1 -0
- package/dist/CliSettings.d.ts +14 -0
- package/dist/CliSettings.d.ts.map +1 -0
- package/dist/CliSettings.js +76 -0
- package/dist/CliSettings.js.map +1 -0
- package/dist/CliUtils.d.ts +92 -0
- package/dist/CliUtils.d.ts.map +1 -0
- package/dist/CliUtils.js +218 -0
- package/dist/CliUtils.js.map +1 -0
- package/dist/Constants/CliConstants.d.ts +6 -0
- package/dist/Constants/CliConstants.d.ts.map +1 -0
- package/dist/Constants/CliConstants.js +6 -0
- package/dist/Constants/CliConstants.js.map +1 -0
- package/dist/Constants/CommandRegistry.d.ts +23 -0
- package/dist/Constants/CommandRegistry.d.ts.map +1 -0
- package/dist/Constants/CommandRegistry.js +197 -0
- package/dist/Constants/CommandRegistry.js.map +1 -0
- package/dist/Constants/HelpStrings.d.ts +329 -0
- package/dist/Constants/HelpStrings.d.ts.map +1 -0
- package/dist/Constants/HelpStrings.js +451 -0
- package/dist/Constants/HelpStrings.js.map +1 -0
- package/dist/Constants.d.ts +10 -0
- package/dist/Constants.d.ts.map +1 -0
- package/dist/Constants.js +18 -0
- package/dist/Constants.js.map +1 -0
- package/dist/Errors/CliError.d.ts +5 -0
- package/dist/Errors/CliError.d.ts.map +1 -0
- package/dist/Errors/CliError.js +7 -0
- package/dist/Errors/CliError.js.map +1 -0
- package/dist/FS/CliFs.d.ts +41 -0
- package/dist/FS/CliFs.d.ts.map +1 -0
- package/dist/FS/CliFs.js +136 -0
- package/dist/FS/CliFs.js.map +1 -0
- package/dist/HttpClient/CliHttpClient.d.ts +24 -0
- package/dist/HttpClient/CliHttpClient.d.ts.map +1 -0
- package/dist/HttpClient/CliHttpClient.js +122 -0
- package/dist/HttpClient/CliHttpClient.js.map +1 -0
- package/dist/HttpClient/OrchardProxy.d.ts +11 -0
- package/dist/HttpClient/OrchardProxy.d.ts.map +1 -0
- package/dist/HttpClient/OrchardProxy.js +25 -0
- package/dist/HttpClient/OrchardProxy.js.map +1 -0
- package/dist/HttpClient/Proxy.d.ts +7 -0
- package/dist/HttpClient/Proxy.d.ts.map +1 -0
- package/dist/HttpClient/Proxy.js +5 -0
- package/dist/HttpClient/Proxy.js.map +1 -0
- package/dist/Logger/CliLogger.d.ts +35 -0
- package/dist/Logger/CliLogger.d.ts.map +1 -0
- package/dist/Logger/CliLogger.js +237 -0
- package/dist/Logger/CliLogger.js.map +1 -0
- package/dist/Logger/ConsoleWriter.d.ts +15 -0
- package/dist/Logger/ConsoleWriter.d.ts.map +1 -0
- package/dist/Logger/ConsoleWriter.js +45 -0
- package/dist/Logger/ConsoleWriter.js.map +1 -0
- package/dist/Logger/Constants.d.ts +6 -0
- package/dist/Logger/Constants.d.ts.map +1 -0
- package/dist/Logger/Constants.js +15 -0
- package/dist/Logger/Constants.js.map +1 -0
- package/dist/Logger/LoggerSettings.d.ts +19 -0
- package/dist/Logger/LoggerSettings.d.ts.map +1 -0
- package/dist/Logger/LoggerSettings.js +114 -0
- package/dist/Logger/LoggerSettings.js.map +1 -0
- package/dist/Logger/OneDSWriter.d.ts +22 -0
- package/dist/Logger/OneDSWriter.d.ts.map +1 -0
- package/dist/Logger/OneDSWriter.js +129 -0
- package/dist/Logger/OneDSWriter.js.map +1 -0
- package/dist/Logger/Scrubber/ScrubCustomDimensions.d.ts +5 -0
- package/dist/Logger/Scrubber/ScrubCustomDimensions.d.ts.map +1 -0
- package/dist/Logger/Scrubber/ScrubCustomDimensions.js +46 -0
- package/dist/Logger/Scrubber/ScrubCustomDimensions.js.map +1 -0
- package/dist/Logger/Scrubber/ScrubCustomDimensionsConfig.d.ts +27 -0
- package/dist/Logger/Scrubber/ScrubCustomDimensionsConfig.d.ts.map +1 -0
- package/dist/Logger/Scrubber/ScrubCustomDimensionsConfig.js +168 -0
- package/dist/Logger/Scrubber/ScrubCustomDimensionsConfig.js.map +1 -0
- package/dist/Logger/Scrubber/ScrubUtils.d.ts +8 -0
- package/dist/Logger/Scrubber/ScrubUtils.d.ts.map +1 -0
- package/dist/Logger/Scrubber/ScrubUtils.js +34 -0
- package/dist/Logger/Scrubber/ScrubUtils.js.map +1 -0
- package/dist/Types/Argument.types.d.ts +27 -0
- package/dist/Types/Argument.types.d.ts.map +1 -0
- package/dist/Types/Argument.types.js +5 -0
- package/dist/Types/Argument.types.js.map +1 -0
- package/dist/Types/Cli.types.d.ts +32 -0
- package/dist/Types/Cli.types.d.ts.map +1 -0
- package/dist/Types/Cli.types.js +5 -0
- package/dist/Types/Cli.types.js.map +1 -0
- package/dist/Types/Command.types.d.ts +52 -0
- package/dist/Types/Command.types.d.ts.map +1 -0
- package/dist/Types/Command.types.js +8 -0
- package/dist/Types/Command.types.js.map +1 -0
- package/dist/Types/Datasource.types.d.ts +43 -0
- package/dist/Types/Datasource.types.d.ts.map +1 -0
- package/dist/Types/Datasource.types.js +5 -0
- package/dist/Types/Datasource.types.js.map +1 -0
- package/dist/Types/LoggerTypes.types.d.ts +17 -0
- package/dist/Types/LoggerTypes.types.d.ts.map +1 -0
- package/dist/Types/LoggerTypes.types.js +5 -0
- package/dist/Types/LoggerTypes.types.js.map +1 -0
- package/dist/Utils/BuildVerbDescriptionTable.d.ts +19 -0
- package/dist/Utils/BuildVerbDescriptionTable.d.ts.map +1 -0
- package/dist/Utils/BuildVerbDescriptionTable.js +87 -0
- package/dist/Utils/BuildVerbDescriptionTable.js.map +1 -0
- package/dist/Utils/ConsoleOutput.d.ts +80 -0
- package/dist/Utils/ConsoleOutput.d.ts.map +1 -0
- package/dist/Utils/ConsoleOutput.js +151 -0
- package/dist/Utils/ConsoleOutput.js.map +1 -0
- package/dist/Utils/DetectPackageManager.d.ts +9 -0
- package/dist/Utils/DetectPackageManager.d.ts.map +1 -0
- package/dist/Utils/DetectPackageManager.js +24 -0
- package/dist/Utils/DetectPackageManager.js.map +1 -0
- package/dist/Utils/EnhanceNetworkError.d.ts +14 -0
- package/dist/Utils/EnhanceNetworkError.d.ts.map +1 -0
- package/dist/Utils/EnhanceNetworkError.js +59 -0
- package/dist/Utils/EnhanceNetworkError.js.map +1 -0
- package/dist/Utils/EnvVars.d.ts +17 -0
- package/dist/Utils/EnvVars.d.ts.map +1 -0
- package/dist/Utils/EnvVars.js +38 -0
- package/dist/Utils/EnvVars.js.map +1 -0
- package/dist/Utils/GitCredentialConfig.d.ts +12 -0
- package/dist/Utils/GitCredentialConfig.d.ts.map +1 -0
- package/dist/Utils/GitCredentialConfig.js +32 -0
- package/dist/Utils/GitCredentialConfig.js.map +1 -0
- package/dist/Utils/GitUtils.d.ts +22 -0
- package/dist/Utils/GitUtils.d.ts.map +1 -0
- package/dist/Utils/GitUtils.js +35 -0
- package/dist/Utils/GitUtils.js.map +1 -0
- package/dist/Utils/Paging.d.ts +23 -0
- package/dist/Utils/Paging.d.ts.map +1 -0
- package/dist/Utils/Paging.js +67 -0
- package/dist/Utils/Paging.js.map +1 -0
- package/dist/Utils/ReadPackageJson.d.ts +9 -0
- package/dist/Utils/ReadPackageJson.d.ts.map +1 -0
- package/dist/Utils/ReadPackageJson.js +13 -0
- package/dist/Utils/ReadPackageJson.js.map +1 -0
- package/dist/Utils/ResolveCommand.d.ts +26 -0
- package/dist/Utils/ResolveCommand.d.ts.map +1 -0
- package/dist/Utils/ResolveCommand.js +62 -0
- package/dist/Utils/ResolveCommand.js.map +1 -0
- package/dist/Utils/RunCommand.d.ts +13 -0
- package/dist/Utils/RunCommand.d.ts.map +1 -0
- package/dist/Utils/RunCommand.js +35 -0
- package/dist/Utils/RunCommand.js.map +1 -0
- package/dist/Utils/Spinner.d.ts +15 -0
- package/dist/Utils/Spinner.d.ts.map +1 -0
- package/dist/Utils/Spinner.js +71 -0
- package/dist/Utils/Spinner.js.map +1 -0
- package/dist/Utils/zipBuildArtifact.d.ts +35 -0
- package/dist/Utils/zipBuildArtifact.d.ts.map +1 -0
- package/dist/Utils/zipBuildArtifact.js +100 -0
- package/dist/Utils/zipBuildArtifact.js.map +1 -0
- package/dist/Verbs/AddAction.d.ts +6 -0
- package/dist/Verbs/AddAction.d.ts.map +1 -0
- package/dist/Verbs/AddAction.js +87 -0
- package/dist/Verbs/AddAction.js.map +1 -0
- package/dist/Verbs/AddDataSource.d.ts +19 -0
- package/dist/Verbs/AddDataSource.d.ts.map +1 -0
- package/dist/Verbs/AddDataSource.js +174 -0
- package/dist/Verbs/AddDataSource.js.map +1 -0
- package/dist/Verbs/AddFlow.d.ts +12 -0
- package/dist/Verbs/AddFlow.d.ts.map +1 -0
- package/dist/Verbs/AddFlow.js +67 -0
- package/dist/Verbs/AddFlow.js.map +1 -0
- package/dist/Verbs/AddTable.d.ts +6 -0
- package/dist/Verbs/AddTable.d.ts.map +1 -0
- package/dist/Verbs/AddTable.js +163 -0
- package/dist/Verbs/AddTable.js.map +1 -0
- package/dist/Verbs/AuthStatus.d.ts +6 -0
- package/dist/Verbs/AuthStatus.d.ts.map +1 -0
- package/dist/Verbs/AuthStatus.js +18 -0
- package/dist/Verbs/AuthStatus.js.map +1 -0
- package/dist/Verbs/BuildMaafApp.d.ts +6 -0
- package/dist/Verbs/BuildMaafApp.d.ts.map +1 -0
- package/dist/Verbs/BuildMaafApp.js +97 -0
- package/dist/Verbs/BuildMaafApp.js.map +1 -0
- package/dist/Verbs/ConnectorHelpers.d.ts +37 -0
- package/dist/Verbs/ConnectorHelpers.d.ts.map +1 -0
- package/dist/Verbs/ConnectorHelpers.js +116 -0
- package/dist/Verbs/ConnectorHelpers.js.map +1 -0
- package/dist/Verbs/CreateMaafApp.d.ts +25 -0
- package/dist/Verbs/CreateMaafApp.d.ts.map +1 -0
- package/dist/Verbs/CreateMaafApp.js +565 -0
- package/dist/Verbs/CreateMaafApp.js.map +1 -0
- package/dist/Verbs/DeleteDataSource.d.ts +6 -0
- package/dist/Verbs/DeleteDataSource.d.ts.map +1 -0
- package/dist/Verbs/DeleteDataSource.js +106 -0
- package/dist/Verbs/DeleteDataSource.js.map +1 -0
- package/dist/Verbs/DeleteMaafApp.d.ts +23 -0
- package/dist/Verbs/DeleteMaafApp.d.ts.map +1 -0
- package/dist/Verbs/DeleteMaafApp.js +99 -0
- package/dist/Verbs/DeleteMaafApp.js.map +1 -0
- package/dist/Verbs/DeployMaafApp.d.ts +6 -0
- package/dist/Verbs/DeployMaafApp.d.ts.map +1 -0
- package/dist/Verbs/DeployMaafApp.js +96 -0
- package/dist/Verbs/DeployMaafApp.js.map +1 -0
- package/dist/Verbs/Dev.d.ts +6 -0
- package/dist/Verbs/Dev.d.ts.map +1 -0
- package/dist/Verbs/Dev.js +214 -0
- package/dist/Verbs/Dev.js.map +1 -0
- package/dist/Verbs/FindDataverseApi.d.ts +12 -0
- package/dist/Verbs/FindDataverseApi.d.ts.map +1 -0
- package/dist/Verbs/FindDataverseApi.js +101 -0
- package/dist/Verbs/FindDataverseApi.js.map +1 -0
- package/dist/Verbs/GetMaafApp.d.ts +6 -0
- package/dist/Verbs/GetMaafApp.d.ts.map +1 -0
- package/dist/Verbs/GetMaafApp.js +60 -0
- package/dist/Verbs/GetMaafApp.js.map +1 -0
- package/dist/Verbs/GetMaafBuildStatus.d.ts +6 -0
- package/dist/Verbs/GetMaafBuildStatus.d.ts.map +1 -0
- package/dist/Verbs/GetMaafBuildStatus.js +68 -0
- package/dist/Verbs/GetMaafBuildStatus.js.map +1 -0
- package/dist/Verbs/GetSettings.d.ts +12 -0
- package/dist/Verbs/GetSettings.d.ts.map +1 -0
- package/dist/Verbs/GetSettings.js +48 -0
- package/dist/Verbs/GetSettings.js.map +1 -0
- package/dist/Verbs/Init.d.ts +6 -0
- package/dist/Verbs/Init.d.ts.map +1 -0
- package/dist/Verbs/Init.js +172 -0
- package/dist/Verbs/Init.js.map +1 -0
- package/dist/Verbs/ListConnectionReferences.d.ts +6 -0
- package/dist/Verbs/ListConnectionReferences.d.ts.map +1 -0
- package/dist/Verbs/ListConnectionReferences.js +70 -0
- package/dist/Verbs/ListConnectionReferences.js.map +1 -0
- package/dist/Verbs/ListConnectorActions.d.ts +6 -0
- package/dist/Verbs/ListConnectorActions.d.ts.map +1 -0
- package/dist/Verbs/ListConnectorActions.js +79 -0
- package/dist/Verbs/ListConnectorActions.js.map +1 -0
- package/dist/Verbs/ListConnectors.d.ts +6 -0
- package/dist/Verbs/ListConnectors.d.ts.map +1 -0
- package/dist/Verbs/ListConnectors.js +66 -0
- package/dist/Verbs/ListConnectors.js.map +1 -0
- package/dist/Verbs/ListDatasets.d.ts +6 -0
- package/dist/Verbs/ListDatasets.d.ts.map +1 -0
- package/dist/Verbs/ListDatasets.js +83 -0
- package/dist/Verbs/ListDatasets.js.map +1 -0
- package/dist/Verbs/ListEnvironmentVariables.d.ts +14 -0
- package/dist/Verbs/ListEnvironmentVariables.d.ts.map +1 -0
- package/dist/Verbs/ListEnvironmentVariables.js +66 -0
- package/dist/Verbs/ListEnvironmentVariables.js.map +1 -0
- package/dist/Verbs/ListFlows.d.ts +13 -0
- package/dist/Verbs/ListFlows.d.ts.map +1 -0
- package/dist/Verbs/ListFlows.js +88 -0
- package/dist/Verbs/ListFlows.js.map +1 -0
- package/dist/Verbs/ListMaafApps.d.ts +71 -0
- package/dist/Verbs/ListMaafApps.d.ts.map +1 -0
- package/dist/Verbs/ListMaafApps.js +168 -0
- package/dist/Verbs/ListMaafApps.js.map +1 -0
- package/dist/Verbs/ListSqlStoredProcedures.d.ts +6 -0
- package/dist/Verbs/ListSqlStoredProcedures.d.ts.map +1 -0
- package/dist/Verbs/ListSqlStoredProcedures.js +84 -0
- package/dist/Verbs/ListSqlStoredProcedures.js.map +1 -0
- package/dist/Verbs/ListTables.d.ts +6 -0
- package/dist/Verbs/ListTables.d.ts.map +1 -0
- package/dist/Verbs/ListTables.js +95 -0
- package/dist/Verbs/ListTables.js.map +1 -0
- package/dist/Verbs/Login.d.ts +6 -0
- package/dist/Verbs/Login.d.ts.map +1 -0
- package/dist/Verbs/Login.js +28 -0
- package/dist/Verbs/Login.js.map +1 -0
- package/dist/Verbs/Logout.d.ts +6 -0
- package/dist/Verbs/Logout.d.ts.map +1 -0
- package/dist/Verbs/Logout.js +28 -0
- package/dist/Verbs/Logout.js.map +1 -0
- package/dist/Verbs/MaafAppPermissions.d.ts +23 -0
- package/dist/Verbs/MaafAppPermissions.d.ts.map +1 -0
- package/dist/Verbs/MaafAppPermissions.js +278 -0
- package/dist/Verbs/MaafAppPermissions.js.map +1 -0
- package/dist/Verbs/Pack.d.ts +38 -0
- package/dist/Verbs/Pack.d.ts.map +1 -0
- package/dist/Verbs/Pack.js +106 -0
- package/dist/Verbs/Pack.js.map +1 -0
- package/dist/Verbs/PushMaafApp.d.ts +6 -0
- package/dist/Verbs/PushMaafApp.d.ts.map +1 -0
- package/dist/Verbs/PushMaafApp.js +145 -0
- package/dist/Verbs/PushMaafApp.js.map +1 -0
- package/dist/Verbs/RefreshDataSource.d.ts +6 -0
- package/dist/Verbs/RefreshDataSource.d.ts.map +1 -0
- package/dist/Verbs/RefreshDataSource.js +72 -0
- package/dist/Verbs/RefreshDataSource.js.map +1 -0
- package/dist/Verbs/RemoveFlow.d.ts +12 -0
- package/dist/Verbs/RemoveFlow.d.ts.map +1 -0
- package/dist/Verbs/RemoveFlow.js +99 -0
- package/dist/Verbs/RemoveFlow.js.map +1 -0
- package/dist/Verbs/SetSetting.d.ts +12 -0
- package/dist/Verbs/SetSetting.d.ts.map +1 -0
- package/dist/Verbs/SetSetting.js +142 -0
- package/dist/Verbs/SetSetting.js.map +1 -0
- package/dist/Verbs/ShareMaafApp.d.ts +12 -0
- package/dist/Verbs/ShareMaafApp.d.ts.map +1 -0
- package/dist/Verbs/ShareMaafApp.js +14 -0
- package/dist/Verbs/ShareMaafApp.js.map +1 -0
- package/dist/Verbs/ShowMaafApp.d.ts +94 -0
- package/dist/Verbs/ShowMaafApp.d.ts.map +1 -0
- package/dist/Verbs/ShowMaafApp.js +216 -0
- package/dist/Verbs/ShowMaafApp.js.map +1 -0
- package/dist/Verbs/TelemetrySettings.d.ts +8 -0
- package/dist/Verbs/TelemetrySettings.d.ts.map +1 -0
- package/dist/Verbs/TelemetrySettings.js +104 -0
- package/dist/Verbs/TelemetrySettings.js.map +1 -0
- package/dist/Verbs/UnshareMaafApp.d.ts +12 -0
- package/dist/Verbs/UnshareMaafApp.d.ts.map +1 -0
- package/dist/Verbs/UnshareMaafApp.js +14 -0
- package/dist/Verbs/UnshareMaafApp.js.map +1 -0
- package/dist/Verbs/VerbConstants.d.ts +433 -0
- package/dist/Verbs/VerbConstants.d.ts.map +1 -0
- package/dist/Verbs/VerbConstants.js +403 -0
- package/dist/Verbs/VerbConstants.js.map +1 -0
- package/dist/Verbs/index.d.ts +40 -0
- package/dist/Verbs/index.d.ts.map +1 -0
- package/dist/Verbs/index.js +40 -0
- package/dist/Verbs/index.js.map +1 -0
- package/package.json +43 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CliConstants.js","sourceRoot":"","sources":["../../src/Constants/CliConstants.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,mEAAmE;AACnE,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (C) Microsoft Corporation. All rights reserved.
|
|
3
|
+
*/
|
|
4
|
+
import type { CommandTree } from '../Types/Command.types.js';
|
|
5
|
+
/**
|
|
6
|
+
* Single source of truth for all CLI commands, expressed as a nested tree.
|
|
7
|
+
*
|
|
8
|
+
* Structure: noun → verb → command (or noun → typed-verb → type → command).
|
|
9
|
+
* All commands live under a noun — there are no top-level global commands.
|
|
10
|
+
*
|
|
11
|
+
* Rules:
|
|
12
|
+
* - Direct verbs (`app init`) are plain LeafCommandDef values.
|
|
13
|
+
* - Typed verbs (`app add table`) use `{ typed: true, commands: { ... } }`.
|
|
14
|
+
* - `@description` and `@helpText` are metadata keys — not commands.
|
|
15
|
+
* - Handlers marked `NOT_YET_IMPLEMENTED` are not yet implemented.
|
|
16
|
+
*
|
|
17
|
+
* When adding a new command:
|
|
18
|
+
* 1. Add the entry here under the appropriate noun/verb/type.
|
|
19
|
+
* 2. Create a handler function in Verbs/ and replace `NOT_YET_IMPLEMENTED`.
|
|
20
|
+
* 3. Add help strings in Constants/HelpStrings.ts if needed.
|
|
21
|
+
*/
|
|
22
|
+
export declare const COMMAND_TREE: CommandTree;
|
|
23
|
+
//# sourceMappingURL=CommandRegistry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CommandRegistry.d.ts","sourceRoot":"","sources":["../../src/Constants/CommandRegistry.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAkB,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAqC1E;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,YAAY,EAAE,WA8K1B,CAAC"}
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (C) Microsoft Corporation. All rights reserved.
|
|
3
|
+
*/
|
|
4
|
+
import { addActionAsync, addDataSourceAsync, addTableAsync, authStatusAsync, buildMaafAppAsync, createMaafAppAsync, deleteDataSourceAsync, deleteMaafAppAsync, deployMaafAppAsync, devAsync, getMaafAppInfoAsync, getMaafBuildStatusAsync, getSettingsAsync, initAsync, listConnectorActionsCliAsync, listConnectorsCliAsync, listMaafAppsAsync, loginAsync, logoutAsync, packAsync, pushMaafAppAsync, refreshDataSourceAsync, setSettingAsync, shareMaafAppAsync, showMaafAppAsync, telemetryDisableAsync, telemetryEnableAsync, telemetryStatusAsync, unshareMaafAppAsync, } from '../Verbs/index.js';
|
|
5
|
+
import { HelpStrings } from './HelpStrings.js';
|
|
6
|
+
/** Placeholder handler for commands not yet implemented. */
|
|
7
|
+
const NOT_YET_IMPLEMENTED = async () => { };
|
|
8
|
+
/**
|
|
9
|
+
* Single source of truth for all CLI commands, expressed as a nested tree.
|
|
10
|
+
*
|
|
11
|
+
* Structure: noun → verb → command (or noun → typed-verb → type → command).
|
|
12
|
+
* All commands live under a noun — there are no top-level global commands.
|
|
13
|
+
*
|
|
14
|
+
* Rules:
|
|
15
|
+
* - Direct verbs (`app init`) are plain LeafCommandDef values.
|
|
16
|
+
* - Typed verbs (`app add table`) use `{ typed: true, commands: { ... } }`.
|
|
17
|
+
* - `@description` and `@helpText` are metadata keys — not commands.
|
|
18
|
+
* - Handlers marked `NOT_YET_IMPLEMENTED` are not yet implemented.
|
|
19
|
+
*
|
|
20
|
+
* When adding a new command:
|
|
21
|
+
* 1. Add the entry here under the appropriate noun/verb/type.
|
|
22
|
+
* 2. Create a handler function in Verbs/ and replace `NOT_YET_IMPLEMENTED`.
|
|
23
|
+
* 3. Add help strings in Constants/HelpStrings.ts if needed.
|
|
24
|
+
*/
|
|
25
|
+
export const COMMAND_TREE = {
|
|
26
|
+
// ── auth ─────────────────────────────────────────────────────────────────
|
|
27
|
+
auth: {
|
|
28
|
+
'@description': 'Manage authentication state.',
|
|
29
|
+
commands: {
|
|
30
|
+
login: {
|
|
31
|
+
'@helpText': HelpStrings.auth.login.description,
|
|
32
|
+
handler: loginAsync,
|
|
33
|
+
},
|
|
34
|
+
logout: {
|
|
35
|
+
'@helpText': HelpStrings.auth.logout.description,
|
|
36
|
+
handler: logoutAsync,
|
|
37
|
+
},
|
|
38
|
+
status: {
|
|
39
|
+
'@helpText': HelpStrings.auth.status.description,
|
|
40
|
+
handler: authStatusAsync,
|
|
41
|
+
},
|
|
42
|
+
switch: {
|
|
43
|
+
'@helpText': 'Switch the active account for CLI commands.',
|
|
44
|
+
handler: NOT_YET_IMPLEMENTED,
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
// ── app ──────────────────────────────────────────────────────────────────
|
|
49
|
+
app: {
|
|
50
|
+
'@description': 'Manage apps and their resources.',
|
|
51
|
+
commands: {
|
|
52
|
+
create: {
|
|
53
|
+
'@helpText': HelpStrings.app.create.description,
|
|
54
|
+
handler: createMaafAppAsync,
|
|
55
|
+
},
|
|
56
|
+
init: {
|
|
57
|
+
'@helpText': HelpStrings.app.init.description,
|
|
58
|
+
handler: initAsync,
|
|
59
|
+
},
|
|
60
|
+
list: {
|
|
61
|
+
'@helpText': HelpStrings.app.list.description,
|
|
62
|
+
handler: listMaafAppsAsync,
|
|
63
|
+
},
|
|
64
|
+
show: {
|
|
65
|
+
'@helpText': HelpStrings.app.show.description,
|
|
66
|
+
handler: showMaafAppAsync,
|
|
67
|
+
},
|
|
68
|
+
share: {
|
|
69
|
+
'@helpText': HelpStrings.app.share.description,
|
|
70
|
+
handler: shareMaafAppAsync,
|
|
71
|
+
},
|
|
72
|
+
unshare: {
|
|
73
|
+
'@helpText': HelpStrings.app.unshare.description,
|
|
74
|
+
handler: unshareMaafAppAsync,
|
|
75
|
+
},
|
|
76
|
+
info: {
|
|
77
|
+
'@helpText': HelpStrings.app.info.description,
|
|
78
|
+
handler: getMaafAppInfoAsync,
|
|
79
|
+
},
|
|
80
|
+
build: {
|
|
81
|
+
'@helpText': HelpStrings.app.build.description,
|
|
82
|
+
handler: buildMaafAppAsync,
|
|
83
|
+
},
|
|
84
|
+
'build-status': {
|
|
85
|
+
'@helpText': HelpStrings.app.buildStatus.description,
|
|
86
|
+
handler: getMaafBuildStatusAsync,
|
|
87
|
+
},
|
|
88
|
+
deploy: {
|
|
89
|
+
'@helpText': HelpStrings.app.deploy.description,
|
|
90
|
+
handler: deployMaafAppAsync,
|
|
91
|
+
},
|
|
92
|
+
push: {
|
|
93
|
+
'@helpText': HelpStrings.app.push.description,
|
|
94
|
+
handler: pushMaafAppAsync,
|
|
95
|
+
},
|
|
96
|
+
pack: {
|
|
97
|
+
'@helpText': HelpStrings.app.pack.description,
|
|
98
|
+
handler: packAsync,
|
|
99
|
+
},
|
|
100
|
+
dev: {
|
|
101
|
+
'@helpText': HelpStrings.app.dev.description,
|
|
102
|
+
handler: devAsync,
|
|
103
|
+
},
|
|
104
|
+
delete: {
|
|
105
|
+
'@helpText': HelpStrings.app.delete.description,
|
|
106
|
+
handler: deleteMaafAppAsync,
|
|
107
|
+
},
|
|
108
|
+
refresh: {
|
|
109
|
+
'@helpText': HelpStrings.app.refresh.description,
|
|
110
|
+
handler: refreshDataSourceAsync,
|
|
111
|
+
},
|
|
112
|
+
add: {
|
|
113
|
+
typed: true,
|
|
114
|
+
commands: {
|
|
115
|
+
action: {
|
|
116
|
+
'@helpText': HelpStrings.app.add.action.description,
|
|
117
|
+
handler: addActionAsync,
|
|
118
|
+
},
|
|
119
|
+
table: {
|
|
120
|
+
'@helpText': HelpStrings.app.add.table.description,
|
|
121
|
+
handler: addTableAsync,
|
|
122
|
+
},
|
|
123
|
+
procedure: {
|
|
124
|
+
'@helpText': HelpStrings.app.add.description,
|
|
125
|
+
handler: addDataSourceAsync,
|
|
126
|
+
},
|
|
127
|
+
'mcp-server': {
|
|
128
|
+
'@helpText': 'Add an MCP server to the app.',
|
|
129
|
+
handler: NOT_YET_IMPLEMENTED,
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
},
|
|
133
|
+
remove: {
|
|
134
|
+
typed: true,
|
|
135
|
+
commands: {
|
|
136
|
+
action: {
|
|
137
|
+
'@helpText': 'Remove connector operations (actions) from the app.',
|
|
138
|
+
handler: NOT_YET_IMPLEMENTED,
|
|
139
|
+
},
|
|
140
|
+
table: {
|
|
141
|
+
'@helpText': HelpStrings.app.remove.description,
|
|
142
|
+
handler: deleteDataSourceAsync,
|
|
143
|
+
},
|
|
144
|
+
procedure: {
|
|
145
|
+
'@helpText': HelpStrings.app.remove.description,
|
|
146
|
+
handler: deleteDataSourceAsync,
|
|
147
|
+
},
|
|
148
|
+
'mcp-server': {
|
|
149
|
+
'@helpText': 'Unbind an MCP server from the app.',
|
|
150
|
+
handler: NOT_YET_IMPLEMENTED,
|
|
151
|
+
},
|
|
152
|
+
},
|
|
153
|
+
},
|
|
154
|
+
'set-setting': {
|
|
155
|
+
'@helpText': HelpStrings.app['set-setting'].description,
|
|
156
|
+
handler: setSettingAsync,
|
|
157
|
+
},
|
|
158
|
+
'get-settings': {
|
|
159
|
+
'@helpText': HelpStrings.app['get-settings'].description,
|
|
160
|
+
handler: getSettingsAsync,
|
|
161
|
+
},
|
|
162
|
+
},
|
|
163
|
+
},
|
|
164
|
+
// ── connector ────────────────────────────────────────────────────────────
|
|
165
|
+
connector: {
|
|
166
|
+
'@description': 'Discover available connectors and their operations.',
|
|
167
|
+
commands: {
|
|
168
|
+
list: {
|
|
169
|
+
'@helpText': HelpStrings.connector.list.description,
|
|
170
|
+
handler: listConnectorsCliAsync,
|
|
171
|
+
},
|
|
172
|
+
'list-actions': {
|
|
173
|
+
'@helpText': HelpStrings.connector['list-actions'].description,
|
|
174
|
+
handler: listConnectorActionsCliAsync,
|
|
175
|
+
},
|
|
176
|
+
},
|
|
177
|
+
},
|
|
178
|
+
// ── telemetry ────────────────────────────────────────────────────────────
|
|
179
|
+
telemetry: {
|
|
180
|
+
'@description': 'Manage CLI telemetry settings.',
|
|
181
|
+
commands: {
|
|
182
|
+
enable: {
|
|
183
|
+
'@helpText': HelpStrings.telemetry.enable.description,
|
|
184
|
+
handler: telemetryEnableAsync,
|
|
185
|
+
},
|
|
186
|
+
disable: {
|
|
187
|
+
'@helpText': HelpStrings.telemetry.disable.description,
|
|
188
|
+
handler: telemetryDisableAsync,
|
|
189
|
+
},
|
|
190
|
+
status: {
|
|
191
|
+
'@helpText': HelpStrings.telemetry.status.description,
|
|
192
|
+
handler: telemetryStatusAsync,
|
|
193
|
+
},
|
|
194
|
+
},
|
|
195
|
+
},
|
|
196
|
+
};
|
|
197
|
+
//# sourceMappingURL=CommandRegistry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CommandRegistry.js","sourceRoot":"","sources":["../../src/Constants/CommandRegistry.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,aAAa,EACb,eAAe,EACf,iBAAiB,EACjB,kBAAkB,EAClB,qBAAqB,EACrB,kBAAkB,EAClB,kBAAkB,EAClB,QAAQ,EACR,mBAAmB,EACnB,uBAAuB,EACvB,gBAAgB,EAChB,SAAS,EACT,4BAA4B,EAC5B,sBAAsB,EACtB,iBAAiB,EACjB,UAAU,EACV,WAAW,EACX,SAAS,EACT,gBAAgB,EAChB,sBAAsB,EACtB,eAAe,EACf,iBAAiB,EACjB,gBAAgB,EAChB,qBAAqB,EACrB,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,GACpB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,WAAW,EAAE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AE,qDAAqD;QACrE,QAAQ,EAAE;YACR,IAAI,EAAE;gBACJ,WAAW,EAAE,WAAW,CAAC,SAAS,CAAC,IAAI,CAAC,WAAW;gBACnD,OAAO,EAAE,sBAAsB;aAChC;YACD,cAAc,EAAE;gBACd,WAAW,EAAE,WAAW,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC,WAAW;gBAC9D,OAAO,EAAE,4BAA4B;aACtC;SACF;KACF;IAED,4EAA4E;IAC5E,SAAS,EAAE;QACT,cAAc,EAAE,gCAAgC;QAChD,QAAQ,EAAE;YACR,MAAM,EAAE;gBACN,WAAW,EAAE,WAAW,CAAC,SAAS,CAAC,MAAM,CAAC,WAAW;gBACrD,OAAO,EAAE,oBAAoB;aAC9B;YACD,OAAO,EAAE;gBACP,WAAW,EAAE,WAAW,CAAC,SAAS,CAAC,OAAO,CAAC,WAAW;gBACtD,OAAO,EAAE,qBAAqB;aAC/B;YACD,MAAM,EAAE;gBACN,WAAW,EAAE,WAAW,CAAC,SAAS,CAAC,MAAM,CAAC,WAAW;gBACrD,OAAO,EAAE,oBAAoB;aAC9B;SACF;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,329 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (C) Microsoft Corporation. All rights reserved.
|
|
3
|
+
*/
|
|
4
|
+
export declare const HelpStrings: {
|
|
5
|
+
global: {
|
|
6
|
+
programDescription: string;
|
|
7
|
+
cloud: string;
|
|
8
|
+
};
|
|
9
|
+
auth: {
|
|
10
|
+
login: {
|
|
11
|
+
description: string;
|
|
12
|
+
examples: string[];
|
|
13
|
+
options: {
|
|
14
|
+
hint: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
logout: {
|
|
18
|
+
description: string;
|
|
19
|
+
examples: string[];
|
|
20
|
+
};
|
|
21
|
+
status: {
|
|
22
|
+
description: string;
|
|
23
|
+
examples: string[];
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
app: {
|
|
27
|
+
create: {
|
|
28
|
+
description: string;
|
|
29
|
+
options: {
|
|
30
|
+
displayName: string;
|
|
31
|
+
description: string;
|
|
32
|
+
repositoryId: string;
|
|
33
|
+
template: string;
|
|
34
|
+
buildPath: string;
|
|
35
|
+
buildCommand: string;
|
|
36
|
+
force: string;
|
|
37
|
+
repo: string;
|
|
38
|
+
};
|
|
39
|
+
examples: string[];
|
|
40
|
+
};
|
|
41
|
+
init: {
|
|
42
|
+
description: string;
|
|
43
|
+
options: {
|
|
44
|
+
environmentId: string;
|
|
45
|
+
cloud: string;
|
|
46
|
+
displayName: string;
|
|
47
|
+
description: string;
|
|
48
|
+
buildPath: string;
|
|
49
|
+
buildCommand: string;
|
|
50
|
+
fileEntryPoint: string;
|
|
51
|
+
appUrl: string;
|
|
52
|
+
logoPath: string;
|
|
53
|
+
};
|
|
54
|
+
examples: string[];
|
|
55
|
+
};
|
|
56
|
+
list: {
|
|
57
|
+
description: string;
|
|
58
|
+
options: {
|
|
59
|
+
environmentId: string;
|
|
60
|
+
permission: string;
|
|
61
|
+
};
|
|
62
|
+
examples: string[];
|
|
63
|
+
};
|
|
64
|
+
info: {
|
|
65
|
+
description: string;
|
|
66
|
+
options: {
|
|
67
|
+
app: string;
|
|
68
|
+
};
|
|
69
|
+
examples: string[];
|
|
70
|
+
};
|
|
71
|
+
show: {
|
|
72
|
+
description: string;
|
|
73
|
+
examples: string[];
|
|
74
|
+
};
|
|
75
|
+
delete: {
|
|
76
|
+
description: string;
|
|
77
|
+
options: {
|
|
78
|
+
app: string;
|
|
79
|
+
environmentId: string;
|
|
80
|
+
force: string;
|
|
81
|
+
};
|
|
82
|
+
examples: string[];
|
|
83
|
+
};
|
|
84
|
+
share: {
|
|
85
|
+
description: string;
|
|
86
|
+
options: {
|
|
87
|
+
app: string;
|
|
88
|
+
};
|
|
89
|
+
examples: string[];
|
|
90
|
+
};
|
|
91
|
+
unshare: {
|
|
92
|
+
description: string;
|
|
93
|
+
options: {
|
|
94
|
+
app: string;
|
|
95
|
+
};
|
|
96
|
+
examples: string[];
|
|
97
|
+
};
|
|
98
|
+
build: {
|
|
99
|
+
description: string;
|
|
100
|
+
options: {
|
|
101
|
+
appName: string;
|
|
102
|
+
commitSha: string;
|
|
103
|
+
};
|
|
104
|
+
examples: string[];
|
|
105
|
+
};
|
|
106
|
+
buildStatus: {
|
|
107
|
+
description: string;
|
|
108
|
+
options: {
|
|
109
|
+
appName: string;
|
|
110
|
+
operationId: string;
|
|
111
|
+
};
|
|
112
|
+
examples: string[];
|
|
113
|
+
};
|
|
114
|
+
deploy: {
|
|
115
|
+
description: string;
|
|
116
|
+
options: {
|
|
117
|
+
app: string;
|
|
118
|
+
commit: string;
|
|
119
|
+
};
|
|
120
|
+
examples: string[];
|
|
121
|
+
};
|
|
122
|
+
pack: {
|
|
123
|
+
description: string;
|
|
124
|
+
examples: string[];
|
|
125
|
+
};
|
|
126
|
+
push: {
|
|
127
|
+
description: string;
|
|
128
|
+
options: {
|
|
129
|
+
environmentId: string;
|
|
130
|
+
};
|
|
131
|
+
examples: string[];
|
|
132
|
+
};
|
|
133
|
+
dev: {
|
|
134
|
+
description: string;
|
|
135
|
+
options: {
|
|
136
|
+
port: string;
|
|
137
|
+
localAppUrl: string;
|
|
138
|
+
configOnly: string;
|
|
139
|
+
};
|
|
140
|
+
examples: string[];
|
|
141
|
+
};
|
|
142
|
+
refresh: {
|
|
143
|
+
description: string;
|
|
144
|
+
options: {
|
|
145
|
+
dataSourceName: string;
|
|
146
|
+
};
|
|
147
|
+
examples: string[];
|
|
148
|
+
};
|
|
149
|
+
add: {
|
|
150
|
+
description: string;
|
|
151
|
+
options: {
|
|
152
|
+
apiId: string;
|
|
153
|
+
connectionId: string;
|
|
154
|
+
connectionRef: string;
|
|
155
|
+
resourceName: string;
|
|
156
|
+
dataset: string;
|
|
157
|
+
orgUrl: string;
|
|
158
|
+
sqlStoredProcedure: string;
|
|
159
|
+
solutionId: string;
|
|
160
|
+
skipCodegen: string;
|
|
161
|
+
};
|
|
162
|
+
examples: string[];
|
|
163
|
+
action: {
|
|
164
|
+
description: string;
|
|
165
|
+
options: {
|
|
166
|
+
apiId: string;
|
|
167
|
+
connectionId: string;
|
|
168
|
+
skipCodegen: string;
|
|
169
|
+
};
|
|
170
|
+
examples: string[];
|
|
171
|
+
};
|
|
172
|
+
table: {
|
|
173
|
+
description: string;
|
|
174
|
+
options: {
|
|
175
|
+
apiId: string;
|
|
176
|
+
connectionId: string;
|
|
177
|
+
dataset: string;
|
|
178
|
+
table: string;
|
|
179
|
+
skipCodegen: string;
|
|
180
|
+
};
|
|
181
|
+
examples: string[];
|
|
182
|
+
};
|
|
183
|
+
};
|
|
184
|
+
remove: {
|
|
185
|
+
description: string;
|
|
186
|
+
options: {
|
|
187
|
+
apiId: string;
|
|
188
|
+
dataSourceName: string;
|
|
189
|
+
sqlStoredProcedure: string;
|
|
190
|
+
force: string;
|
|
191
|
+
};
|
|
192
|
+
examples: string[];
|
|
193
|
+
};
|
|
194
|
+
'get-settings': {
|
|
195
|
+
description: string;
|
|
196
|
+
examples: string[];
|
|
197
|
+
};
|
|
198
|
+
'set-setting': {
|
|
199
|
+
description: string;
|
|
200
|
+
options: {
|
|
201
|
+
'show-header': string;
|
|
202
|
+
'enable-catalyst': string;
|
|
203
|
+
};
|
|
204
|
+
examples: string[];
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
connector: {
|
|
208
|
+
list: {
|
|
209
|
+
description: string;
|
|
210
|
+
options: {
|
|
211
|
+
search: string;
|
|
212
|
+
};
|
|
213
|
+
examples: string[];
|
|
214
|
+
};
|
|
215
|
+
'list-actions': {
|
|
216
|
+
description: string;
|
|
217
|
+
options: {
|
|
218
|
+
connector: string;
|
|
219
|
+
search: string;
|
|
220
|
+
};
|
|
221
|
+
examples: string[];
|
|
222
|
+
};
|
|
223
|
+
};
|
|
224
|
+
telemetry: {
|
|
225
|
+
enable: {
|
|
226
|
+
description: string;
|
|
227
|
+
options: {
|
|
228
|
+
remote: string;
|
|
229
|
+
console: string;
|
|
230
|
+
};
|
|
231
|
+
examples: string[];
|
|
232
|
+
};
|
|
233
|
+
disable: {
|
|
234
|
+
description: string;
|
|
235
|
+
options: {
|
|
236
|
+
remote: string;
|
|
237
|
+
console: string;
|
|
238
|
+
};
|
|
239
|
+
examples: string[];
|
|
240
|
+
};
|
|
241
|
+
status: {
|
|
242
|
+
description: string;
|
|
243
|
+
examples: string[];
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
/**
|
|
247
|
+
* @deprecated Strings referenced only by verb files that are no longer wired to the
|
|
248
|
+
* command tree (AddFlow, BuildMaafApp, GetMaafBuildStatus, ListConnectionReferences,
|
|
249
|
+
* ListDatasets, ListEnvironmentVariables, ListFlows, ListSqlStoredProcedures, ListTables,
|
|
250
|
+
* RemoveFlow). Delete this entire block when those files are removed.
|
|
251
|
+
*/
|
|
252
|
+
deprecated: {
|
|
253
|
+
Verbs: {
|
|
254
|
+
'Add-flow': {
|
|
255
|
+
Description: string;
|
|
256
|
+
Options: {
|
|
257
|
+
FlowId: string;
|
|
258
|
+
};
|
|
259
|
+
};
|
|
260
|
+
'Build-app': {
|
|
261
|
+
Description: string;
|
|
262
|
+
Options: {
|
|
263
|
+
AppName: string;
|
|
264
|
+
CommitSha: string;
|
|
265
|
+
};
|
|
266
|
+
Examples: string[];
|
|
267
|
+
};
|
|
268
|
+
'Get-build-status': {
|
|
269
|
+
Description: string;
|
|
270
|
+
Options: {
|
|
271
|
+
AppName: string;
|
|
272
|
+
OperationId: string;
|
|
273
|
+
};
|
|
274
|
+
Examples: string[];
|
|
275
|
+
};
|
|
276
|
+
'List-connection-references': {
|
|
277
|
+
Description: string;
|
|
278
|
+
Options: {
|
|
279
|
+
SolutionId: string;
|
|
280
|
+
};
|
|
281
|
+
Examples: string[];
|
|
282
|
+
};
|
|
283
|
+
'List-datasets': {
|
|
284
|
+
Description: string;
|
|
285
|
+
Options: {
|
|
286
|
+
Connector: string;
|
|
287
|
+
Connection: string;
|
|
288
|
+
};
|
|
289
|
+
Examples: string[];
|
|
290
|
+
};
|
|
291
|
+
'List-environment-variables': {
|
|
292
|
+
Description: string;
|
|
293
|
+
Examples: string[];
|
|
294
|
+
};
|
|
295
|
+
'List-flows': {
|
|
296
|
+
Description: string;
|
|
297
|
+
Options: {
|
|
298
|
+
Search: string;
|
|
299
|
+
};
|
|
300
|
+
Examples: string[];
|
|
301
|
+
};
|
|
302
|
+
'List-sqlStoredProcedures': {
|
|
303
|
+
Description: string;
|
|
304
|
+
Options: {
|
|
305
|
+
Connection: string;
|
|
306
|
+
Dataset: string;
|
|
307
|
+
};
|
|
308
|
+
Examples: string[];
|
|
309
|
+
};
|
|
310
|
+
'List-tables': {
|
|
311
|
+
Description: string;
|
|
312
|
+
Options: {
|
|
313
|
+
Connector: string;
|
|
314
|
+
Connection: string;
|
|
315
|
+
Dataset: string;
|
|
316
|
+
};
|
|
317
|
+
Examples: string[];
|
|
318
|
+
};
|
|
319
|
+
'Remove-flow': {
|
|
320
|
+
Description: string;
|
|
321
|
+
Options: {
|
|
322
|
+
FlowDataSourceName: string;
|
|
323
|
+
FlowId: string;
|
|
324
|
+
};
|
|
325
|
+
};
|
|
326
|
+
};
|
|
327
|
+
};
|
|
328
|
+
};
|
|
329
|
+
//# sourceMappingURL=HelpStrings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HelpStrings.d.ts","sourceRoot":"","sources":["../../src/Constants/HelpStrings.ts"],"names":[],"mappings":"AAAA;;GAEG;AAMH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA+VtB;;;;;OAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuGJ,CAAC"}
|