You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.option('app',{type: 'string',default: undefined,desc: 'The custom CLI command that will be used to run the test files. You can include {filePath} to specify where in the command the test file path should be inserted. Example: --app="python3.8 {filePath}".'})
55
54
.option('test-regex',{type: 'array',desc: 'Detect integration test files matching this JavaScript regex pattern. If used multiple times, all files matching any one of the patterns are detected.',default: []})
56
-
.option('unstable',{type: 'array',desc: 'Opt-in to using unstable features. Currently no unstable features are available.',nargs: 1,default: []})
55
+
.option('unstable',{type: 'array',desc: `Opt-in to using unstable features. By using these flags you acknowledge that scope and API of unstable features may change without notice. Specify multiple times for each unstable feature you want to opt-in to. ${availableFeaturesDescription()}`,nargs: 1,default: []})
57
56
.strict()
58
57
.parse(args);
59
58
@@ -121,17 +120,16 @@ export async function main(args: string[]) {
121
120
constoptions=parseCliArgs(args);
122
121
123
122
// Process unstable features and emit appropriate warnings
warningMessage: 'The deprecated-cli-engine option has been removed.',
47
-
removalMessage: 'The cli-wrapper engine has been removed. The toolkit-lib engine is now the only supported engine.',
33
+
deprecationMessage: 'You have opted-in to use the deprecated CLI engine which is scheduled to be removed in January 2026. If you have encountered blockers while using the new default engine, please let us know by opening an issue: https://github.com/aws/aws-cdk-cli/issues/new/choose\n\nTo use the new default engine, remove the `--unstable=deprecated-cli-engine` option.',
34
+
removalMessage: 'The CLI engine has been removed. The toolkit-lib engine is now the only supported engine. Please remove this flag.',
48
35
},
49
-
{
50
-
name: 'toolkit-lib-engine',
36
+
'toolkit-lib-engine': {
51
37
status: FeatureStatus.REMOVED,
52
-
warningMessage: 'The toolkit-lib-engine option is no longer needed.',
38
+
deprecationMessage: 'The toolkit-libengine is now the default engine. This flag can be safely removed. You may choose to temporarily revert to the old engine by adding the `--unstable=deprecated-cli-engine` option.',
53
39
removalMessage: 'The toolkit-lib engine is now the default and only engine. This flag can be safely removed.',
54
40
},
55
-
];
41
+
};
56
42
57
43
/**
58
44
* Process unstable feature flags and emit appropriate warnings
59
45
*
60
-
* @paramfeatures - Array of feature names from CLI --unstable option
61
-
* @returnsProcessedFeatures with validFeatures and ignoredFeatures
46
+
* @paramunstableFeatures - Array of feature names from CLI --unstable option
0 commit comments