Happy Medium 的 WordPress Flex Section 系统的 CLI 工具

0.0.4 2024-04-22 21:18 UTC

This package is auto-updated.

Last update: 2024-09-03 17:30:53 UTC


README

packagist package version packagist package downloads license

注意:此工具/系统为实验性。

Happy Medium的 CLI 工具 用于 WordPress Flex Section 系统。

安装

到包(本地)

composer require-dev itsahappymedium/flex-cli
./vendor/bin/flx --help

到您的系统(全局)

composer global require itsahappymedium/flix-cli
flx --help

设置

首次安装此工具后,您将想要运行 flx library:setup,这将下载 flex sections 库。

命令

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。有关更多信息,请参阅 license.md 文件