A CLI tool written in PHP based on symfony console to easily create a WordPress (Timber) project.
composer global require azi/pine
Dont't forget to add $HOME/.composer/vendor/bin
in your path
pine new blog
This will download and install wordpress as well as timber with basic theme directory structure
pine new blog 4.6
Option | Description | Default Value | Required |
---|---|---|---|
--prefix | The database table prefix, By default pine uses the project name as prefix for example If you run pine new blog the table prefix will becose blog_ |
Project name | No |
--skip-install | If passed pine will skip the WordPress installation step. | - | No |
--npm | If passed pine will run npm install in the newly generated theme. |
- | NO |