0.1.3 • Published 1 year ago
wpchunks-cli v0.1.3
wpchunks-cli
A command line to create wpchunks wordpress plugin component.
Functions
- It's an alpha version
- Still in development - don't use in production
- BTW don't use yet :)
Installation
From within your Wordpress theme folder run
npm install -g wpchunks-cli
Use
npx wpchunk <component-name> <php|js|react> [<folder-name>]
Examples
- Create the PHP component hello-world inside component folder
npx wpchunk hello-world php components
- Create the React component task-list inside current folder
npx wpchunk task-list react
- Create the Javascript component slideshow inside current folder
npx wpchunk slideshow js