/zengine-migrator

CLI Tool for Setting Up Migration Environment for Zengine Plugins

Primary LanguageJavaScript

Zengine Migrator

Set up your Zengine plugin for version 2 migration

Install

npm i -g ZengineHQ/zengine-migrator

Usage

cd plugins/my-cool-plugin # root directory of your FRONTEND source code (probably not repo top level)
zmig # run the command!

zmig --branch my-test-branch --user myuser # clones myuser/legacy-plugin-wrapper#my-test-branch
zmig -b my-test-branch -u myuser # alias!

# or...

mkdir new-plugin-repo
cd new-plugin-repo
zmig # run the command!
cp -r ~/path/to/old-directory/ ./src

# or...
# if you don't have your plugin code in a repository already

zmig pull # Coming Soon! This command will first grab your files from the Zengine API before setting up the migrator