@webiny/cli-core 0.0.0-unstable.e622468070 → 0.0.0-unstable.e9333b3f0b
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/Cli.d.ts +2 -1
- package/Cli.js +12 -11
- package/Cli.js.map +1 -1
- package/abstractions/createAbstraction.js +3 -2
- package/abstractions/createAbstraction.js.map +1 -1
- package/abstractions/features/CliCommand.d.ts +4 -0
- package/abstractions/features/CliCommand.js +2 -1
- package/abstractions/features/CliCommand.js.map +1 -1
- package/abstractions/features/ErrorHandler.js +2 -1
- package/abstractions/features/ErrorHandler.js.map +1 -1
- package/abstractions/features/GlobalCliOption.js +2 -1
- package/abstractions/features/GlobalCliOption.js.map +1 -1
- package/abstractions/features/IsCi.js +2 -1
- package/abstractions/features/IsCi.js.map +1 -1
- package/abstractions/features/index.js +0 -2
- package/abstractions/features/types.js +0 -3
- package/abstractions/index.js +0 -2
- package/abstractions/services/ArgvParserService.js +2 -1
- package/abstractions/services/ArgvParserService.js.map +1 -1
- package/abstractions/services/CliParamsService.js +2 -1
- package/abstractions/services/CliParamsService.js.map +1 -1
- package/abstractions/services/CommandsRegistryService.js +2 -1
- package/abstractions/services/CommandsRegistryService.js.map +1 -1
- package/abstractions/services/DefaultAppsService.d.ts +8 -0
- package/abstractions/services/DefaultAppsService.js +5 -0
- package/abstractions/services/DefaultAppsService.js.map +1 -0
- package/abstractions/services/GetArgvService.js +2 -1
- package/abstractions/services/GetArgvService.js.map +1 -1
- package/abstractions/services/GetCliRunnerService.js +2 -1
- package/abstractions/services/GetCliRunnerService.js.map +1 -1
- package/abstractions/services/GetIsCiService.js +2 -1
- package/abstractions/services/GetIsCiService.js.map +1 -1
- package/abstractions/services/GetProjectSdkService.js +2 -1
- package/abstractions/services/GetProjectSdkService.js.map +1 -1
- package/abstractions/services/GlobalOptionsRegistryService.js +2 -1
- package/abstractions/services/GlobalOptionsRegistryService.js.map +1 -1
- package/abstractions/services/LoggerService.js +2 -1
- package/abstractions/services/LoggerService.js.map +1 -1
- package/abstractions/services/RunCliRunnerService.js +2 -1
- package/abstractions/services/RunCliRunnerService.js.map +1 -1
- package/abstractions/services/StdioService.js +2 -1
- package/abstractions/services/StdioService.js.map +1 -1
- package/abstractions/services/UiService.js +2 -1
- package/abstractions/services/UiService.js.map +1 -1
- package/abstractions/services/index.d.ts +1 -0
- package/abstractions/services/index.js +1 -2
- package/createCliContainer.d.ts +1 -1
- package/createCliContainer.js +88 -119
- package/createCliContainer.js.map +1 -1
- package/decorators/CommandsWithGracefulErrorHandling.js +34 -32
- package/decorators/CommandsWithGracefulErrorHandling.js.map +1 -1
- package/decorators/index.d.ts +0 -1
- package/decorators/index.js +0 -3
- package/exports/cli/command.js +0 -2
- package/exports/cli.d.ts +2 -0
- package/exports/cli.js +2 -0
- package/extensions/CliCommand.d.ts +3 -7
- package/extensions/CliCommand.js +15 -18
- package/extensions/CliCommand.js.map +1 -1
- package/extensions/CliCommandDecorator.d.ts +3 -7
- package/extensions/CliCommandDecorator.js +15 -18
- package/extensions/CliCommandDecorator.js.map +1 -1
- package/extensions/index.d.ts +2 -6
- package/extensions/index.js +5 -2
- package/extensions/index.js.map +1 -1
- package/features/AboutCommand.js +80 -86
- package/features/AboutCommand.js.map +1 -1
- package/features/BuildCommand/BuildCommand.d.ts +7 -3
- package/features/BuildCommand/BuildCommand.js +68 -37
- package/features/BuildCommand/BuildCommand.js.map +1 -1
- package/features/BuildCommand/buildRunners/BaseBuildRunner.js +10 -13
- package/features/BuildCommand/buildRunners/BaseBuildRunner.js.map +1 -1
- package/features/BuildCommand/buildRunners/BuildRunner.js +18 -21
- package/features/BuildCommand/buildRunners/BuildRunner.js.map +1 -1
- package/features/BuildCommand/buildRunners/MultipleBuildsRunner.js +20 -19
- package/features/BuildCommand/buildRunners/MultipleBuildsRunner.js.map +1 -1
- package/features/BuildCommand/buildRunners/SingleBuildRunner.js +15 -14
- package/features/BuildCommand/buildRunners/SingleBuildRunner.js.map +1 -1
- package/features/BuildCommand/buildRunners/ZeroBuildsRunner.js +3 -4
- package/features/BuildCommand/buildRunners/ZeroBuildsRunner.js.map +1 -1
- package/features/BuildCommand/index.js +0 -2
- package/features/ConfigCommand.js +55 -56
- package/features/ConfigCommand.js.map +1 -1
- package/features/DeployCommand/index.d.ts +20 -1
- package/features/DeployCommand/index.js +0 -3
- package/features/DepsSync/BuildDependencyTree.js +17 -22
- package/features/DepsSync/BuildDependencyTree.js.map +1 -1
- package/features/DepsSync/DependencyTree.js +108 -119
- package/features/DepsSync/DependencyTree.js.map +1 -1
- package/features/DepsSync/ListAllPackageJsonFiles.js +19 -14
- package/features/DepsSync/ListAllPackageJsonFiles.js.map +1 -1
- package/features/DepsSync/ListAllPackages.d.ts +1 -1
- package/features/DepsSync/ListAllPackages.js +9 -9
- package/features/DepsSync/ListAllPackages.js.map +1 -1
- package/features/DepsSync/commands/SyncDepsCommand.js +30 -24
- package/features/DepsSync/commands/SyncDepsCommand.js.map +1 -1
- package/features/DepsSync/commands/VerifyDepsCommand.js +70 -71
- package/features/DepsSync/commands/VerifyDepsCommand.js.map +1 -1
- package/features/DepsSync/createDependencyTree.d.ts +1 -1
- package/features/DepsSync/createDependencyTree.js +25 -18
- package/features/DepsSync/createDependencyTree.js.map +1 -1
- package/features/DepsSync/createReferenceFile.js +22 -26
- package/features/DepsSync/createReferenceFile.js.map +1 -1
- package/features/DepsSync/index.js +0 -2
- package/features/DepsSync/paths.js +3 -6
- package/features/DepsSync/paths.js.map +1 -1
- package/features/DepsSync/types.js +7 -6
- package/features/DepsSync/types.js.map +1 -1
- package/features/DisableTelemetryCommand.js +28 -25
- package/features/DisableTelemetryCommand.js.map +1 -1
- package/features/EnableTelemetryCommand.js +28 -25
- package/features/EnableTelemetryCommand.js.map +1 -1
- package/features/ExtensionCommand/ExtensionCommand.js +60 -63
- package/features/ExtensionCommand/ExtensionCommand.js.map +1 -1
- package/features/ExtensionCommand/index.js +0 -2
- package/features/InfoCommand/InfoCommand.js +58 -56
- package/features/InfoCommand/InfoCommand.js.map +1 -1
- package/features/InfoCommand/PrintInfoForEnv.js +31 -47
- package/features/InfoCommand/PrintInfoForEnv.js.map +1 -1
- package/features/InfoCommand/index.js +0 -2
- package/features/IsCi/IsCi.js +14 -11
- package/features/IsCi/IsCi.js.map +1 -1
- package/features/IsCi/index.js +1 -3
- package/features/OpenCommand.js +48 -47
- package/features/OpenCommand.js.map +1 -1
- package/features/UpgradeCommand/UpgradeCommand.d.ts +29 -0
- package/features/UpgradeCommand/UpgradeCommand.js +123 -0
- package/features/UpgradeCommand/UpgradeCommand.js.map +1 -0
- package/features/UpgradeCommand/UpgradeCommandHandler.d.ts +11 -0
- package/features/UpgradeCommand/UpgradeCommandHandler.js +105 -0
- package/features/UpgradeCommand/UpgradeCommandHandler.js.map +1 -0
- package/features/UpgradeCommand/abstraction.d.ts +23 -0
- package/features/UpgradeCommand/abstraction.js +5 -0
- package/features/UpgradeCommand/abstraction.js.map +1 -0
- package/features/UpgradeCommand/feature.d.ts +4 -0
- package/features/UpgradeCommand/feature.js +13 -0
- package/features/UpgradeCommand/feature.js.map +1 -0
- package/features/UpgradeCommand/index.d.ts +2 -0
- package/features/UpgradeCommand/index.js +2 -0
- package/features/Wcp/LinkProjectCommand.js +120 -139
- package/features/Wcp/LinkProjectCommand.js.map +1 -1
- package/features/Wcp/LoginCommand.js +104 -118
- package/features/Wcp/LoginCommand.js.map +1 -1
- package/features/Wcp/LogoutCommand.js +29 -23
- package/features/Wcp/LogoutCommand.js.map +1 -1
- package/features/Wcp/WhoAmICommand.js +33 -29
- package/features/Wcp/WhoAmICommand.js.map +1 -1
- package/features/common/index.js +0 -2
- package/features/common/options.js +41 -50
- package/features/common/options.js.map +1 -1
- package/features/globalOptions/LogLevelGlobalOption.js +25 -16
- package/features/globalOptions/LogLevelGlobalOption.js.map +1 -1
- package/features/globalOptions/ShowLogsGlobalOption.js +16 -15
- package/features/globalOptions/ShowLogsGlobalOption.js.map +1 -1
- package/features/globalOptions/StackTraceGlobalOption.js +16 -15
- package/features/globalOptions/StackTraceGlobalOption.js.map +1 -1
- package/features/globalOptions/TraceGlobalOption.d.ts +5 -0
- package/features/globalOptions/TraceGlobalOption.js +22 -0
- package/features/globalOptions/TraceGlobalOption.js.map +1 -0
- package/features/globalOptions/index.d.ts +1 -0
- package/features/globalOptions/index.js +1 -2
- package/features/gracefulErrorHandlers/MissingFilesInBuildGracefulErrorHandler.js +12 -18
- package/features/gracefulErrorHandlers/MissingFilesInBuildGracefulErrorHandler.js.map +1 -1
- package/features/gracefulErrorHandlers/index.d.ts +0 -2
- package/features/gracefulErrorHandlers/index.js +0 -4
- package/features/index.d.ts +1 -5
- package/features/index.js +1 -7
- package/features/utils/index.js +0 -2
- package/features/utils/measureDuration.js +7 -8
- package/features/utils/measureDuration.js.map +1 -1
- package/index.js +0 -2
- package/package.json +38 -31
- package/services/ArgvParserService/ArgvParserService.js +27 -33
- package/services/ArgvParserService/ArgvParserService.js.map +1 -1
- package/services/ArgvParserService/index.js +0 -2
- package/services/CliParamsService/CliParamsService.js +18 -15
- package/services/CliParamsService/CliParamsService.js.map +1 -1
- package/services/CliParamsService/index.js +0 -2
- package/services/CommandsRegistryService/CommandsRegistryService.js +19 -13
- package/services/CommandsRegistryService/CommandsRegistryService.js.map +1 -1
- package/services/CommandsRegistryService/index.js +0 -2
- package/services/DefaultAppsService/DefaultAppsService.d.ts +5 -0
- package/services/DefaultAppsService/DefaultAppsService.js +15 -0
- package/services/DefaultAppsService/DefaultAppsService.js.map +1 -0
- package/services/DefaultAppsService/index.d.ts +1 -0
- package/services/DefaultAppsService/index.js +1 -0
- package/services/GetArgvService/GetArgvService.js +14 -11
- package/services/GetArgvService/GetArgvService.js.map +1 -1
- package/services/GetArgvService/index.js +0 -2
- package/services/GetCliRunnerService/GetCliRunnerService.js +123 -148
- package/services/GetCliRunnerService/GetCliRunnerService.js.map +1 -1
- package/services/GetCliRunnerService/index.js +0 -2
- package/services/GetIsCiService/GetIsCiService.js +9 -8
- package/services/GetIsCiService/GetIsCiService.js.map +1 -1
- package/services/GetIsCiService/index.js +1 -3
- package/services/GetProjectSdkService/GetProjectSdkService.js +25 -24
- package/services/GetProjectSdkService/GetProjectSdkService.js.map +1 -1
- package/services/GetProjectSdkService/index.js +0 -2
- package/services/GlobalOptionsRegistryService/GlobalOptionsRegistryService.js +19 -13
- package/services/GlobalOptionsRegistryService/GlobalOptionsRegistryService.js.map +1 -1
- package/services/GlobalOptionsRegistryService/index.js +0 -2
- package/services/LoggerService/LoggerService.js +76 -88
- package/services/LoggerService/LoggerService.js.map +1 -1
- package/services/LoggerService/index.js +0 -2
- package/services/RunCliRunnerService/RunCliRunnerService.d.ts +1 -1
- package/services/RunCliRunnerService/RunCliRunnerService.js +15 -13
- package/services/RunCliRunnerService/RunCliRunnerService.js.map +1 -1
- package/services/RunCliRunnerService/index.js +0 -2
- package/services/StdioService/StdioService.js +15 -14
- package/services/StdioService/StdioService.js.map +1 -1
- package/services/StdioService/index.js +0 -2
- package/services/UiService/UiService.d.ts +18 -0
- package/services/UiService/UiService.js +71 -58
- package/services/UiService/UiService.js.map +1 -1
- package/services/UiService/index.js +0 -2
- package/services/index.d.ts +1 -0
- package/services/index.js +1 -2
- package/utils/ManuallyReportedError.js +7 -6
- package/utils/ManuallyReportedError.js.map +1 -1
- package/utils/ensureSameWebinyPackageVersions/ensureSameWebinyPackageVersions.d.ts +1 -0
- package/utils/ensureSameWebinyPackageVersions/ensureSameWebinyPackageVersions.js +53 -0
- package/utils/ensureSameWebinyPackageVersions/ensureSameWebinyPackageVersions.js.map +1 -0
- package/utils/ensureSameWebinyPackageVersions/getCacheFilePath.d.ts +1 -0
- package/utils/ensureSameWebinyPackageVersions/getCacheFilePath.js +12 -0
- package/utils/ensureSameWebinyPackageVersions/getCacheFilePath.js.map +1 -0
- package/utils/ensureSameWebinyPackageVersions/hashYarnLock.d.ts +1 -0
- package/utils/ensureSameWebinyPackageVersions/hashYarnLock.js +16 -0
- package/utils/ensureSameWebinyPackageVersions/hashYarnLock.js.map +1 -0
- package/utils/ensureSameWebinyPackageVersions/index.d.ts +6 -0
- package/utils/ensureSameWebinyPackageVersions/index.js +6 -0
- package/utils/ensureSameWebinyPackageVersions/listWebinyPackageVersions.d.ts +1 -0
- package/utils/ensureSameWebinyPackageVersions/listWebinyPackageVersions.js +31 -0
- package/utils/ensureSameWebinyPackageVersions/listWebinyPackageVersions.js.map +1 -0
- package/utils/ensureSameWebinyPackageVersions/readClearedYarnLockHash.d.ts +1 -0
- package/utils/ensureSameWebinyPackageVersions/readClearedYarnLockHash.js +13 -0
- package/utils/ensureSameWebinyPackageVersions/readClearedYarnLockHash.js.map +1 -0
- package/utils/ensureSameWebinyPackageVersions/writeClearedYarnLockHash.d.ts +1 -0
- package/utils/ensureSameWebinyPackageVersions/writeClearedYarnLockHash.js +24 -0
- package/utils/ensureSameWebinyPackageVersions/writeClearedYarnLockHash.js.map +1 -0
- package/utils/suppressPunycodeWarnings.d.ts +4 -0
- package/utils/suppressPunycodeWarnings.js +7 -0
- package/utils/suppressPunycodeWarnings.js.map +1 -0
- package/abstractions/features/index.js.map +0 -1
- package/abstractions/features/types.js.map +0 -1
- package/abstractions/index.js.map +0 -1
- package/abstractions/services/index.js.map +0 -1
- package/decorators/DeployCommandWithTelemetry.d.ts +0 -11
- package/decorators/DeployCommandWithTelemetry.js +0 -91
- package/decorators/DeployCommandWithTelemetry.js.map +0 -1
- package/decorators/index.js.map +0 -1
- package/exports/cli/command.js.map +0 -1
- package/exports/cli/index.d.ts +0 -2
- package/exports/cli/index.js +0 -4
- package/exports/cli/index.js.map +0 -1
- package/features/BuildCommand/index.js.map +0 -1
- package/features/DeployCommand/DeployCommand.d.ts +0 -30
- package/features/DeployCommand/DeployCommand.js +0 -168
- package/features/DeployCommand/DeployCommand.js.map +0 -1
- package/features/DeployCommand/deployOutputs/BaseDeployOutput.d.ts +0 -20
- package/features/DeployCommand/deployOutputs/BaseDeployOutput.js +0 -20
- package/features/DeployCommand/deployOutputs/BaseDeployOutput.js.map +0 -1
- package/features/DeployCommand/deployOutputs/DeployOutput.d.ts +0 -5
- package/features/DeployCommand/deployOutputs/DeployOutput.js +0 -24
- package/features/DeployCommand/deployOutputs/DeployOutput.js.map +0 -1
- package/features/DeployCommand/deployOutputs/NoDeploymentLogsDeployOutput.d.ts +0 -4
- package/features/DeployCommand/deployOutputs/NoDeploymentLogsDeployOutput.js +0 -61
- package/features/DeployCommand/deployOutputs/NoDeploymentLogsDeployOutput.js.map +0 -1
- package/features/DeployCommand/deployOutputs/WithDeploymentLogsDeployOutput.d.ts +0 -4
- package/features/DeployCommand/deployOutputs/WithDeploymentLogsDeployOutput.js +0 -44
- package/features/DeployCommand/deployOutputs/WithDeploymentLogsDeployOutput.js.map +0 -1
- package/features/DeployCommand/index.js.map +0 -1
- package/features/DepsSync/index.js.map +0 -1
- package/features/DestroyCommand/DestroyCommand.d.ts +0 -22
- package/features/DestroyCommand/DestroyCommand.js +0 -78
- package/features/DestroyCommand/DestroyCommand.js.map +0 -1
- package/features/DestroyCommand/index.d.ts +0 -1
- package/features/DestroyCommand/index.js +0 -3
- package/features/DestroyCommand/index.js.map +0 -1
- package/features/ExtensionCommand/index.js.map +0 -1
- package/features/InfoCommand/index.js.map +0 -1
- package/features/IsCi/index.js.map +0 -1
- package/features/OutputCommand.d.ts +0 -12
- package/features/OutputCommand.js +0 -79
- package/features/OutputCommand.js.map +0 -1
- package/features/PulumiCommand/PulumiCommand.d.ts +0 -13
- package/features/PulumiCommand/PulumiCommand.js +0 -50
- package/features/PulumiCommand/PulumiCommand.js.map +0 -1
- package/features/PulumiCommand/index.d.ts +0 -1
- package/features/PulumiCommand/index.js +0 -3
- package/features/PulumiCommand/index.js.map +0 -1
- package/features/RefreshCommand/RefreshCommand.d.ts +0 -12
- package/features/RefreshCommand/RefreshCommand.js +0 -45
- package/features/RefreshCommand/RefreshCommand.js.map +0 -1
- package/features/RefreshCommand/index.d.ts +0 -1
- package/features/RefreshCommand/index.js +0 -3
- package/features/RefreshCommand/index.js.map +0 -1
- package/features/WatchCommand/WatchCommand.d.ts +0 -11
- package/features/WatchCommand/WatchCommand.js +0 -143
- package/features/WatchCommand/WatchCommand.js.map +0 -1
- package/features/WatchCommand/createPrefixer.d.ts +0 -2
- package/features/WatchCommand/createPrefixer.js +0 -20
- package/features/WatchCommand/createPrefixer.js.map +0 -1
- package/features/WatchCommand/getRandomColorForString.d.ts +0 -1
- package/features/WatchCommand/getRandomColorForString.js +0 -11
- package/features/WatchCommand/getRandomColorForString.js.map +0 -1
- package/features/WatchCommand/index.d.ts +0 -1
- package/features/WatchCommand/index.js +0 -3
- package/features/WatchCommand/index.js.map +0 -1
- package/features/common/index.js.map +0 -1
- package/features/globalOptions/index.js.map +0 -1
- package/features/gracefulErrorHandlers/DdbPutItemConditionalCheckFailedGracefulErrorHandler.d.ts +0 -6
- package/features/gracefulErrorHandlers/DdbPutItemConditionalCheckFailedGracefulErrorHandler.js +0 -26
- package/features/gracefulErrorHandlers/DdbPutItemConditionalCheckFailedGracefulErrorHandler.js.map +0 -1
- package/features/gracefulErrorHandlers/PendingOperationsGracefulErrorHandler.d.ts +0 -6
- package/features/gracefulErrorHandlers/PendingOperationsGracefulErrorHandler.js +0 -29
- package/features/gracefulErrorHandlers/PendingOperationsGracefulErrorHandler.js.map +0 -1
- package/features/gracefulErrorHandlers/index.js.map +0 -1
- package/features/index.js.map +0 -1
- package/features/utils/index.js.map +0 -1
- package/index.js.map +0 -1
- package/services/ArgvParserService/index.js.map +0 -1
- package/services/CliParamsService/index.js.map +0 -1
- package/services/CommandsRegistryService/index.js.map +0 -1
- package/services/GetArgvService/index.js.map +0 -1
- package/services/GetCliRunnerService/index.js.map +0 -1
- package/services/GetIsCiService/index.js.map +0 -1
- package/services/GetProjectSdkService/index.js.map +0 -1
- package/services/GlobalOptionsRegistryService/index.js.map +0 -1
- package/services/LoggerService/index.js.map +0 -1
- package/services/RunCliRunnerService/index.js.map +0 -1
- package/services/StdioService/index.js.map +0 -1
- package/services/UiService/index.js.map +0 -1
- package/services/index.js.map +0 -1
package/Cli.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { Container } from "@webiny/di";
|
|
1
2
|
import { CliParamsService } from "./abstractions/index.js";
|
|
2
3
|
export declare class Cli {
|
|
3
4
|
private container;
|
|
4
5
|
private constructor();
|
|
5
6
|
run(): any;
|
|
6
|
-
static init(params?: CliParamsService.Params): Promise<Cli>;
|
|
7
|
+
static init(params?: CliParamsService.Params, register?: (container: Container) => void): Promise<Cli>;
|
|
7
8
|
}
|
package/Cli.js
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { createCliContainer } from "./createCliContainer.js";
|
|
2
2
|
import { RunCliRunnerService } from "./abstractions/index.js";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
3
|
+
class Cli {
|
|
4
|
+
constructor(container){
|
|
5
|
+
this.container = container;
|
|
6
|
+
}
|
|
7
|
+
run() {
|
|
8
|
+
return this.container.resolve(RunCliRunnerService).execute();
|
|
9
|
+
}
|
|
10
|
+
static async init(params = {}, register) {
|
|
11
|
+
const container = await createCliContainer(params, register);
|
|
12
|
+
return new Cli(container);
|
|
13
|
+
}
|
|
14
14
|
}
|
|
15
|
+
export { Cli };
|
|
15
16
|
|
|
16
17
|
//# sourceMappingURL=Cli.js.map
|
package/Cli.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"Cli.js","sources":["../src/Cli.ts"],"sourcesContent":["import { Container } from \"@webiny/di\";\nimport { createCliContainer } from \"./createCliContainer.js\";\nimport { CliParamsService, RunCliRunnerService } from \"~/abstractions/index.js\";\n\nexport class Cli {\n private container: Container;\n\n private constructor(container: Container) {\n this.container = container;\n }\n\n run() {\n return this.container.resolve(RunCliRunnerService).execute();\n }\n\n static async init(\n params: CliParamsService.Params = {},\n register?: (container: Container) => void\n ) {\n const container = await createCliContainer(params, register);\n return new Cli(container);\n }\n}\n"],"names":["Cli","container","RunCliRunnerService","params","register","createCliContainer"],"mappings":";;AAIO,MAAMA;IAGT,YAAoBC,SAAoB,CAAE;QACtC,IAAI,CAAC,SAAS,GAAGA;IACrB;IAEA,MAAM;QACF,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAACC,qBAAqB,OAAO;IAC9D;IAEA,aAAa,KACTC,SAAkC,CAAC,CAAC,EACpCC,QAAyC,EAC3C;QACE,MAAMH,YAAY,MAAMI,mBAAmBF,QAAQC;QACnD,OAAO,IAAIJ,IAAIC;IACnB;AACJ"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Abstraction } from "@webiny/di";
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
function createAbstraction(name) {
|
|
3
|
+
return new Abstraction(name);
|
|
4
4
|
}
|
|
5
|
+
export { createAbstraction };
|
|
5
6
|
|
|
6
7
|
//# sourceMappingURL=createAbstraction.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"abstractions/createAbstraction.js","sources":["../../src/abstractions/createAbstraction.ts"],"sourcesContent":["import { Abstraction } from \"@webiny/di\";\n\nexport function createAbstraction<T>(name: string): Abstraction<T> {\n return new Abstraction<T>(name);\n}\n"],"names":["createAbstraction","name","Abstraction"],"mappings":";AAEO,SAASA,kBAAqBC,IAAY;IAC7C,OAAO,IAAIC,YAAeD;AAC9B"}
|
|
@@ -14,6 +14,7 @@ export interface ICliCommandOptionDefinition<TCommandParams> {
|
|
|
14
14
|
group?: string;
|
|
15
15
|
required?: boolean;
|
|
16
16
|
alias?: string;
|
|
17
|
+
array?: boolean;
|
|
17
18
|
default?: any;
|
|
18
19
|
validation?: (value: TCommandParams) => boolean | string;
|
|
19
20
|
}
|
|
@@ -28,6 +29,9 @@ export interface ICliCommandDefinition<TCommandParams> {
|
|
|
28
29
|
export interface ICliCommand<TCommandParams> {
|
|
29
30
|
execute(): Promise<ICliCommandDefinition<TCommandParams>> | ICliCommandDefinition<TCommandParams>;
|
|
30
31
|
}
|
|
32
|
+
/**
|
|
33
|
+
* Implement a custom CLI command for Webiny CLI.
|
|
34
|
+
*/
|
|
31
35
|
export declare const CliCommandFactory: import("@webiny/di").Abstraction<ICliCommand<any>>;
|
|
32
36
|
export declare namespace CliCommandFactory {
|
|
33
37
|
type Interface<TCommandParams> = ICliCommand<TCommandParams>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createAbstraction } from "../createAbstraction.js";
|
|
2
|
-
|
|
2
|
+
const CliCommandFactory = createAbstraction("CliCommandFactory");
|
|
3
|
+
export { CliCommandFactory };
|
|
3
4
|
|
|
4
5
|
//# sourceMappingURL=CliCommand.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"abstractions/features/CliCommand.js","sources":["../../../src/abstractions/features/CliCommand.ts"],"sourcesContent":["import { createAbstraction } from \"~/abstractions/createAbstraction.js\";\n\nexport interface ICliCommandParamDefinition<TCommandParams> {\n name: string;\n description: string;\n type: \"boolean\" | \"number\" | \"string\";\n required?: boolean;\n array?: boolean;\n default?: any;\n validation?: (value: TCommandParams) => boolean | string;\n}\n\nexport interface ICliCommandOptionDefinition<TCommandParams> {\n name: string;\n description: string;\n type: \"boolean\" | \"number\" | \"string\";\n group?: string;\n required?: boolean;\n alias?: string;\n array?: boolean;\n default?: any;\n validation?: (value: TCommandParams) => boolean | string;\n}\n\nexport interface ICliCommandDefinition<TCommandParams> {\n name: string;\n description: string;\n params?: ICliCommandParamDefinition<TCommandParams>[];\n options?: ICliCommandOptionDefinition<TCommandParams>[];\n examples?: string[];\n handler: (params: TCommandParams) => void | Promise<void>;\n}\n\nexport interface ICliCommand<TCommandParams> {\n execute():\n | Promise<ICliCommandDefinition<TCommandParams>>\n | ICliCommandDefinition<TCommandParams>;\n}\n\n/**\n * Implement a custom CLI command for Webiny CLI.\n */\nexport const CliCommandFactory = createAbstraction<ICliCommand<any>>(\"CliCommandFactory\");\n\nexport namespace CliCommandFactory {\n export type Interface<TCommandParams> = ICliCommand<TCommandParams>;\n\n export type ParamDefinition<TCommandParams> = ICliCommandParamDefinition<TCommandParams>;\n export type OptionDefinition<TCommandParams> = ICliCommandOptionDefinition<TCommandParams>;\n\n export type CommandDefinition<TCommandParams> = ICliCommandDefinition<TCommandParams>;\n}\n"],"names":["CliCommandFactory","createAbstraction"],"mappings":";AA0CO,MAAMA,oBAAoBC,kBAAoC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"abstractions/features/ErrorHandler.js","sources":["../../../src/abstractions/features/ErrorHandler.ts"],"sourcesContent":["import { createAbstraction } from \"~/abstractions/createAbstraction.js\";\nimport { CliCommandFactory } from \"~/abstractions/index.js\";\n\nexport type IError = Error;\n\nexport interface IErrorHandlerParams<TParams> {\n error: Error;\n command: CliCommandFactory.CommandDefinition<any>;\n params: TParams;\n}\n\nexport interface IErrorHandler<TParams> {\n execute(params: IErrorHandlerParams<TParams>): void;\n}\n\nexport const ErrorHandler = createAbstraction<IErrorHandler<any>>(\"ErrorHandler\");\n\nexport namespace ErrorHandler {\n export type Interface<TParams> = IErrorHandler<TParams>;\n export type Params<TParams> = IErrorHandlerParams<TParams>;\n}\n"],"names":["ErrorHandler","createAbstraction"],"mappings":";AAeO,MAAMA,eAAeC,kBAAsC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createAbstraction } from "../createAbstraction.js";
|
|
2
|
-
|
|
2
|
+
const GlobalCliOption = createAbstraction("GlobalCliOption");
|
|
3
|
+
export { GlobalCliOption };
|
|
3
4
|
|
|
4
5
|
//# sourceMappingURL=GlobalCliOption.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"abstractions/features/GlobalCliOption.js","sources":["../../../src/abstractions/features/GlobalCliOption.ts"],"sourcesContent":["import { createAbstraction } from \"~/abstractions/createAbstraction.js\";\n\nexport interface IGlobalCliOptionConfig {\n type: \"boolean\" | \"number\" | \"string\";\n description: string;\n default?: any;\n alias?: string;\n choices?: string[];\n}\n\nexport interface IGlobalCliOptionDefinition {\n name: string;\n config: IGlobalCliOptionConfig;\n}\n\nexport interface IGlobalCliOption {\n execute(): Promise<IGlobalCliOptionDefinition> | IGlobalCliOptionDefinition;\n}\n\nexport const GlobalCliOption = createAbstraction<IGlobalCliOption>(\"GlobalCliOption\");\n\nexport namespace GlobalCliOption {\n export type Interface = IGlobalCliOption;\n export type Definition = IGlobalCliOptionDefinition;\n export type Config = IGlobalCliOptionConfig;\n}\n"],"names":["GlobalCliOption","createAbstraction"],"mappings":";AAmBO,MAAMA,kBAAkBC,kBAAoC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"abstractions/features/IsCi.js","sources":["../../../src/abstractions/features/IsCi.ts"],"sourcesContent":["import { createAbstraction } from \"~/abstractions/createAbstraction.js\";\n\ninterface IIsCi {\n execute(): boolean;\n}\n\nexport const IsCi = createAbstraction<IIsCi>(\"IsCi\");\n\nexport namespace IsCi {\n export type Interface = IIsCi;\n}\n"],"names":["IsCi","createAbstraction"],"mappings":";AAMO,MAAMA,OAAOC,kBAAyB"}
|
package/abstractions/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createAbstraction } from "../createAbstraction.js";
|
|
2
|
-
|
|
2
|
+
const ArgvParserService = createAbstraction("ArgvParserService");
|
|
3
|
+
export { ArgvParserService };
|
|
3
4
|
|
|
4
5
|
//# sourceMappingURL=ArgvParserService.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"abstractions/services/ArgvParserService.js","sources":["../../../src/abstractions/services/ArgvParserService.ts"],"sourcesContent":["import { createAbstraction } from \"~/abstractions/createAbstraction.js\";\n\nexport interface IArgvParserService {\n parse<T = Record<string, any>>(argv: string[]): T;\n}\n\nexport const ArgvParserService = createAbstraction<IArgvParserService>(\"ArgvParserService\");\n\nexport namespace ArgvParserService {\n export type Interface = IArgvParserService;\n}\n"],"names":["ArgvParserService","createAbstraction"],"mappings":";AAMO,MAAMA,oBAAoBC,kBAAsC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"abstractions/services/CliParamsService.js","sources":["../../../src/abstractions/services/CliParamsService.ts"],"sourcesContent":["import { ExtensionDefinitionModel } from \"@webiny/project/extensions/index.js\";\nimport { Abstraction } from \"@webiny/di\";\n\nexport interface ICliParams {\n cwd?: string;\n extensions?: ExtensionDefinitionModel<any>[];\n}\n\nexport interface ICliParamsService {\n get(): ICliParams;\n set(params: ICliParams): void;\n}\n\nexport const CliParamsService = new Abstraction<ICliParamsService>(\"CliParamsService\");\n\nexport namespace CliParamsService {\n export type Interface = ICliParamsService;\n export type Params = ICliParams;\n}\n"],"names":["CliParamsService","Abstraction"],"mappings":";AAaO,MAAMA,mBAAmB,IAAIC,YAA+B"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createAbstraction } from "../createAbstraction.js";
|
|
2
|
-
|
|
2
|
+
const CommandsRegistryService = createAbstraction("CommandsRegistryService");
|
|
3
|
+
export { CommandsRegistryService };
|
|
3
4
|
|
|
4
5
|
//# sourceMappingURL=CommandsRegistryService.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"abstractions/services/CommandsRegistryService.js","sources":["../../../src/abstractions/services/CommandsRegistryService.ts"],"sourcesContent":["import { createAbstraction } from \"~/abstractions/createAbstraction.js\";\nimport { CliCommandFactory } from \"~/abstractions/index.js\";\n\nexport interface ICommandsRegistryService {\n execute(): CliCommandFactory.Interface<any>[];\n}\n\nexport const CommandsRegistryService =\n createAbstraction<ICommandsRegistryService>(\"CommandsRegistryService\");\n\nexport namespace CommandsRegistryService {\n export type Interface = ICommandsRegistryService;\n}\n"],"names":["CommandsRegistryService","createAbstraction"],"mappings":";AAOO,MAAMA,0BACTC,kBAA4C"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Abstraction } from "@webiny/di";
|
|
2
|
+
export interface IDefaultAppsService {
|
|
3
|
+
execute(): Promise<string[]>;
|
|
4
|
+
}
|
|
5
|
+
export declare const DefaultAppsService: Abstraction<IDefaultAppsService>;
|
|
6
|
+
export declare namespace DefaultAppsService {
|
|
7
|
+
type Interface = IDefaultAppsService;
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"abstractions/services/DefaultAppsService.js","sources":["../../../src/abstractions/services/DefaultAppsService.ts"],"sourcesContent":["import { Abstraction } from \"@webiny/di\";\n\nexport interface IDefaultAppsService {\n execute(): Promise<string[]>;\n}\n\nexport const DefaultAppsService = new Abstraction<IDefaultAppsService>(\"DefaultAppsService\");\n\nexport namespace DefaultAppsService {\n export type Interface = IDefaultAppsService;\n}\n"],"names":["DefaultAppsService","Abstraction"],"mappings":";AAMO,MAAMA,qBAAqB,IAAIC,YAAiC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"abstractions/services/GetArgvService.js","sources":["../../../src/abstractions/services/GetArgvService.ts"],"sourcesContent":["import { createAbstraction } from \"~/abstractions/createAbstraction.js\";\n\nexport interface IGetArgvService {\n execute<T = Record<string, any>>(): T;\n}\n\nexport const GetArgvService = createAbstraction<IGetArgvService>(\"GetArgvService\");\n\nexport namespace GetArgvService {\n export type Interface = IGetArgvService;\n}\n"],"names":["GetArgvService","createAbstraction"],"mappings":";AAMO,MAAMA,iBAAiBC,kBAAmC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createAbstraction } from "../createAbstraction.js";
|
|
2
|
-
|
|
2
|
+
const GetCliRunnerService = createAbstraction("GetCliRunnerService");
|
|
3
|
+
export { GetCliRunnerService };
|
|
3
4
|
|
|
4
5
|
//# sourceMappingURL=GetCliRunnerService.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"abstractions/services/GetCliRunnerService.js","sources":["../../../src/abstractions/services/GetCliRunnerService.ts"],"sourcesContent":["import { createAbstraction } from \"~/abstractions/createAbstraction.js\";\n\nexport interface IGetCliRunnerService {\n execute(): Promise<any>;\n}\n\nexport const GetCliRunnerService = createAbstraction<IGetCliRunnerService>(\"GetCliRunnerService\");\n\nexport namespace GetCliRunnerService {\n export type Interface = IGetCliRunnerService;\n}\n"],"names":["GetCliRunnerService","createAbstraction"],"mappings":";AAMO,MAAMA,sBAAsBC,kBAAwC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"abstractions/services/GetIsCiService.js","sources":["../../../src/abstractions/services/GetIsCiService.ts"],"sourcesContent":["import { createAbstraction } from \"~/abstractions/createAbstraction.js\";\n\ninterface IGetIsCiService {\n execute(): boolean;\n}\n\nexport const GetIsCiService = createAbstraction<IGetIsCiService>(\"GetIsCiService\");\n\nexport namespace GetIsCiService {\n export type Interface = IGetIsCiService;\n}\n"],"names":["GetIsCiService","createAbstraction"],"mappings":";AAMO,MAAMA,iBAAiBC,kBAAmC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createAbstraction } from "../createAbstraction.js";
|
|
2
|
-
|
|
2
|
+
const GetProjectSdkService = createAbstraction("GetProjectSdkService");
|
|
3
|
+
export { GetProjectSdkService };
|
|
3
4
|
|
|
4
5
|
//# sourceMappingURL=GetProjectSdkService.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"abstractions/services/GetProjectSdkService.js","sources":["../../../src/abstractions/services/GetProjectSdkService.ts"],"sourcesContent":["import { createAbstraction } from \"~/abstractions/createAbstraction.js\";\nimport { type ProjectSdk } from \"@webiny/project\";\n\nexport interface IGetProjectSdkService {\n execute(): Promise<ProjectSdk>;\n}\n\nexport const GetProjectSdkService =\n createAbstraction<IGetProjectSdkService>(\"GetProjectSdkService\");\n\nexport namespace GetProjectSdkService {\n export type Interface = IGetProjectSdkService;\n}\n"],"names":["GetProjectSdkService","createAbstraction"],"mappings":";AAOO,MAAMA,uBACTC,kBAAyC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createAbstraction } from "../createAbstraction.js";
|
|
2
|
-
|
|
2
|
+
const GlobalOptionsRegistryService = createAbstraction("GlobalOptionsRegistryService");
|
|
3
|
+
export { GlobalOptionsRegistryService };
|
|
3
4
|
|
|
4
5
|
//# sourceMappingURL=GlobalOptionsRegistryService.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"abstractions/services/GlobalOptionsRegistryService.js","sources":["../../../src/abstractions/services/GlobalOptionsRegistryService.ts"],"sourcesContent":["import { createAbstraction } from \"~/abstractions/createAbstraction.js\";\nimport { GlobalCliOption } from \"~/abstractions/index.js\";\n\nexport interface IGlobalOptionsRegistryService {\n execute(): GlobalCliOption.Interface[];\n}\n\nexport const GlobalOptionsRegistryService = createAbstraction<IGlobalOptionsRegistryService>(\n \"GlobalOptionsRegistryService\"\n);\n\nexport namespace GlobalOptionsRegistryService {\n export type Interface = IGlobalOptionsRegistryService;\n}\n"],"names":["GlobalOptionsRegistryService","createAbstraction"],"mappings":";AAOO,MAAMA,+BAA+BC,kBACxC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"abstractions/services/LoggerService.js","sources":["../../../src/abstractions/services/LoggerService.ts"],"sourcesContent":["import { createAbstraction } from \"~/abstractions/createAbstraction.js\";\n\nexport interface ILoggerService {\n // Basic levels\n trace(objOrMsg: object | string, ...args: any[]): void;\n debug(objOrMsg: object | string, ...args: any[]): void;\n info(objOrMsg: object | string, ...args: any[]): void;\n warn(objOrMsg: object | string, ...args: any[]): void;\n error(objOrMsg: object | string, ...args: any[]): void;\n fatal(objOrMsg: object | string, ...args: any[]): void;\n\n // Generic log (can default to 'info')\n log(objOrMsg: object | string, ...args: any[]): void;\n}\n\nexport const LoggerService = createAbstraction<ILoggerService>(\"LoggerService\");\n\nexport namespace LoggerService {\n export type Interface = ILoggerService;\n}\n"],"names":["LoggerService","createAbstraction"],"mappings":";AAeO,MAAMA,gBAAgBC,kBAAkC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createAbstraction } from "../createAbstraction.js";
|
|
2
|
-
|
|
2
|
+
const RunCliRunnerService = createAbstraction("RunCliRunnerService");
|
|
3
|
+
export { RunCliRunnerService };
|
|
3
4
|
|
|
4
5
|
//# sourceMappingURL=RunCliRunnerService.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"abstractions/services/RunCliRunnerService.js","sources":["../../../src/abstractions/services/RunCliRunnerService.ts"],"sourcesContent":["import { createAbstraction } from \"~/abstractions/createAbstraction.js\";\n\nexport interface IRunCliRunnerService {\n execute(): any;\n}\n\nexport const RunCliRunnerService = createAbstraction<IRunCliRunnerService>(\"RunCliRunnerService\");\n\nexport namespace RunCliRunnerService {\n export type Interface = IRunCliRunnerService;\n}\n"],"names":["RunCliRunnerService","createAbstraction"],"mappings":";AAMO,MAAMA,sBAAsBC,kBAAwC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"abstractions/services/StdioService.js","sources":["../../../src/abstractions/services/StdioService.ts"],"sourcesContent":["import { createAbstraction } from \"~/abstractions/createAbstraction.js\";\n\nexport interface IStdioService {\n getStdout(): NodeJS.WriteStream;\n\n getStderr(): NodeJS.WriteStream;\n\n getStdin(): NodeJS.ReadStream;\n}\n\nexport const StdioService = createAbstraction<IStdioService>(\"StdioService\");\n\nexport namespace StdioService {\n export type Interface = IStdioService;\n}\n"],"names":["StdioService","createAbstraction"],"mappings":";AAUO,MAAMA,eAAeC,kBAAiC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"abstractions/services/UiService.js","sources":["../../../src/abstractions/services/UiService.ts"],"sourcesContent":["import { createAbstraction } from \"~/abstractions/createAbstraction.js\";\n\nexport interface IUiService {\n raw(text: string): void;\n\n text(text: string): void;\n\n textBold(text: string): void;\n\n emptyLine(): void;\n\n info(text: string, ...args: any[]): void;\n\n success(text: string, ...args: any[]): void;\n\n error(text: string, ...args: any[]): void;\n\n warning(text: string, ...args: any[]): void;\n\n debug(text: string, ...args: any[]): void;\n}\n\nexport const UiService = createAbstraction<IUiService>(\"UiService\");\n\nexport namespace UiService {\n export type Interface = IUiService;\n}\n"],"names":["UiService","createAbstraction"],"mappings":";AAsBO,MAAMA,YAAYC,kBAA8B"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from "./ArgvParserService.js";
|
|
2
|
+
export * from "./DefaultAppsService.js";
|
|
2
3
|
export * from "./CliParamsService.js";
|
|
3
4
|
export * from "./CommandsRegistryService.js";
|
|
4
5
|
export * from "./GetArgvService.js";
|
|
@@ -10,5 +11,3 @@ export * from "./LoggerService.js";
|
|
|
10
11
|
export * from "./RunCliRunnerService.js";
|
|
11
12
|
export * from "./StdioService.js";
|
|
12
13
|
export * from "./UiService.js";
|
|
13
|
-
|
|
14
|
-
//# sourceMappingURL=index.js.map
|
package/createCliContainer.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { Container } from "@webiny/di";
|
|
2
2
|
import { CliParamsService } from "./abstractions/index.js";
|
|
3
|
-
export declare const createCliContainer: (params: CliParamsService.Params) => Promise<Container>;
|
|
3
|
+
export declare const createCliContainer: (params: CliParamsService.Params, register?: (container: Container) => void) => Promise<Container>;
|