A CLI tool for Happy Medium's WordPress Flex Section System

0.0.4 2024-04-22 21:18 UTC

This package is auto-updated.

Last update: 2024-11-03 17:53:40 UTC


README

packagist package version packagist package downloads license

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.