2 min read

Custom Alias added to PowerShell

Alias Description
gen-aiexclude Generates a sample .aiexclude file in the theme root.
gen-all Runs the configuration generator and copies files to the root.
gen-assets Generates the assets folder structure (fonts, images, js).
gen-blocks Generates a sample custom block structure.
gen-cleanup Removes all generated configuration files and folders to reset the environment.
gen-composer Generates a composer.json file for PHP dependency management.
gen-config Master generator script. Runs all individual configuration generators.
gen-critical Generates the generate-critical.mjs script for Critical CSS.
gen-debug Generates a PHP script to verify Xdebug installation and configuration.
gen-docs Generates a basic documentation structure for the theme.
gen-editorconfig Generates a standard .editorconfig file for WordPress coding standards.
gen-env Generates a sample .env file for FTP deployment configuration.
gen-functions Generates a starter functions.php file.
gen-git Generates a standard WordPress theme .gitignore file.
gen-htaccess Generates a standard WordPress .htaccess file.
gen-indexphp Generates a standard index.php file for WordPress themes.
gen-jsconfig Generates a jsconfig.json for better VS Code IntelliSense in block themes.
gen-launch Generates .vscode/launch.json for PHP debugging with Xdebug.
gen-packagejson Generates package.json with build scripts.
gen-parts Generates standard FSE HTML template parts (header, footer).
gen-patterns Generates a sample block pattern.
gen-postcss Generates postcss.config.js.
gen-readme Generates a README.md file.
gen-stylecss Generates the root style.css with WordPress theme header.
gen-tailwind Generates tailwind.config.js and src/input.css.
gen-templates Generates standard FSE HTML templates (index, archive, page, single).
gen-tests Generates a basic PHPUnit testing structure.
gen-themejson Generates a starter theme.json file.
gen-vscode Generates .vscode/settings.json with recommended workspace settings.