@celonis/content-cli 1.1.0 → 1.1.1
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.
|
@@ -218,8 +218,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
218
218
|
if (this.cmd.isBeta) {
|
|
219
219
|
return;
|
|
220
220
|
}
|
|
221
|
+
const providedOptions = this.cmd.opts();
|
|
221
222
|
for (const option of this.cmd.options) {
|
|
222
|
-
|
|
223
|
+
const optionName = option.attributeName();
|
|
224
|
+
if (option.isBeta && Object.hasOwn(providedOptions, optionName)) {
|
|
223
225
|
logger_1.logger.info(chalk.yellow(`The option '${option.long}' is in beta and may change in future releases.`));
|
|
224
226
|
}
|
|
225
227
|
}
|