Creating packages from the command line¶
Pluxel can create .ppf packages from the command line without opening the
GUI — handy for build and distribution automation. The generated .ppf imports
like any other via Adding packages.
Usage¶
Write the options (--name, etc.) first, then list the files and folders to include at the very end.
Choosing which files to include¶
Just list the files and folders you want, separated by spaces, after the options. Multiple entries are allowed.
# A single file
pluxel package --name Wiggle --out Wiggle.ppf wiggle.jsx
# Multiple files (a script plus companion files)
pluxel package --name Wiggle --out Wiggle.ppf wiggle.jsx wiggle.ffx icon.png
# A whole folder (its contents are bundled, structure preserved)
pluxel package --name Wiggle --out Wiggle.ppf ./WiggleFiles/
- Pass a folder to bundle its contents (folder structure is preserved).
- Quote paths that contain spaces:
"My Script.jsx". - If none of the entries is a supported type (
.jsx, etc.), it errors (see below).
Including a banner image¶
Use --banner¶
Use --banner <PATH> to select a banner regardless of the image's filename or location.
Supported formats are PNG / JPG / JPEG / WebP. The file must be non-empty and at most 32 MiB.
pluxel package --name "MyEffect" --version 1.0.0 --banner "./images/My artwork.png" --out ./MyEffect.ppf MyEffect.jsx
The image is stored at the PPF root as banner.<extension> and recognized as a banner on import.
Specify --banner only once. Including another root-level banner / preview / thumbnail
image as a positional input produces a conflict error.
Where the executable is¶
Options¶
| Option | Description |
|---|---|
--name <NAME> |
Package name (required) |
--version <VERSION> |
Version string (e.g. 1.0.0) |
--author <AUTHOR> |
Author |
--description <TEXT> |
Description |
--homepage <URL> |
Homepage URL |
--banner <PATH> |
Banner image (PNG / JPG / JPEG / WebP, up to 32 MiB) |
--kind <KIND> |
script / script-ui-panel / plugin / zxp / installer (auto-detected when omitted) |
--out <PATH> |
Output path (defaults to ./<name>.ppf) |
-h, --help |
Show help |
Auto-detected kind & supported types¶
When --kind is omitted, the kind is auto-detected from the input file extensions.
| Kind | Extensions |
|---|---|
| Script | .jsx / .js / .jsxbin |
| Effect plugin | .plugin / .aex |
| CEP extension | .zxp |
| Installer | .pkg / .exe / .msi |
- If none of the inputs is a supported type, it errors (you can pass
--kindexplicitly). - Companion files such as
.ffxpresets and images can be bundled together with a supported file.