diff --git a/dist/setup-wp-env/create-wp-env-config.js b/dist/setup-wp-env/create-wp-env-config.js index 7adae7e..3881b63 100644 --- a/dist/setup-wp-env/create-wp-env-config.js +++ b/dist/setup-wp-env/create-wp-env-config.js @@ -8,7 +8,9 @@ async function main() { themes, mappings, "config-dir": configDir, - "active-theme": activeTheme + "active-theme": activeTheme, + config1, + config2 } = getOptions({ wp: { type: "string", default: null }, php: { type: "string", default: null }, @@ -20,8 +22,11 @@ async function main() { validate: (value) => typeof value === "string" && /^[a-z0-9-]+$/.test(value) }, mappings: { type: "string", default: "" }, - "config-dir": { type: "string", default: "./" } + "config-dir": { type: "string", default: "./" }, + config1: { type: "string", default: "" }, + config2: { type: "string", default: "" } }); + console.log(config1, config2); const config = { core: wp ? `WordPress/Wordpress#${wp}` : null, phpVersion: php ? php : null,