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

Installs: 9

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 1

pkg:composer/itsahappymedium/flex-cli

0.0.4 2024-04-22 21:18 UTC

This package is auto-updated.

Last update: 2025-10-01 00:10:20 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.