itsahappymedium / flex-cli
A CLI tool for Happy Medium's WordPress Flex Section System
0.0.4
2024-04-22 21:18 UTC
Requires
- php: ^8.0
- adhocore/cli: ^1.6
- czproject/git-php: ^4.2
README
Notice: This tool/system is experimental.
A CLI tool for Happy Medium's WordPress Flex Section System.
Installation
To a package (local)
composer require-dev itsahappymedium/flex-cli
./vendor/bin/flx --help
To your system (global)
composer global require itsahappymedium/flix-cli
flx --help
Setup
After you first install the tool, you will want to run flx library:setup
which will pull down the flex sections library.
Commands
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
License
MIT. See the license.md file for more info.