@forge/cli-shared
9.2.0-next.59.2.0-next.5-experimental-a1600ff
out/apps/create-an-app.js~
out/apps/create-an-app.jsModified+8−2
Index: package/out/apps/create-an-app.js
===================================================================
--- package/out/apps/create-an-app.js
+++ package/out/apps/create-an-app.js
@@ -18,11 +18,17 @@
this.registerAppCommand = registerAppCommand;
this.packageInstaller = packageInstaller;
this.statsig = statsig;
}
- async execute({ name, description, template, directory, requiredProduct, installationTarget, developerSpaceId, billingConsent }) {
+ async execute({ name, description, template, directory, requiredProduct, installationTarget, developerSpaceId, billingConsent, appFeatures }) {
await this.templater.downloadAndExtract(template, directory);
- const result = await this.registerAppCommand.registerApp({ name, description, developerSpaceId, billingConsent }, directory, {
+ const result = await this.registerAppCommand.registerApp({
+ name,
+ description,
+ developerSpaceId,
+ billingConsent,
+ ...(appFeatures && { appFeatures })
+ }, directory, {
shouldPrependAppName: true,
requiredProduct,
installationTarget
});