Notice: This tool/system is experimental.
A CLI tool for Happy Medium's WordPress Flex Section System.
composer require-dev itsahappymedium/flex-cli
./vendor/bin/flx --help
composer global require itsahappymedium/flix-cli
flx --help
After you first install the tool, you will want to run flx library:setup
which will pull down the flex sections library.
library
library:setup Downloads the flex section module library
library:update Makes sure the flex section module library is up to date
module
module:export Exports a module from the current website project into the modules library repository
module:import Imports a flex section module into the current project
MIT. See the license.md file for more info.