Upload a ZIP archive to the configured theme repository.

Usage

wpc theme:push [options] [--] <artifact>

Arguments

artifact
string
required

Path to the ZIP file to upload.

Options

--message, -m
string

Release notes for this version.

--clean
boolean

Delete the ZIP file after it has been uploaded.

Examples

# Push the theme archive without message
$ wpc theme:push dist/my-theme.zip

# Push the theme archive with a commit message
$ wpc theme:push --m "🐛 Fix some bugs" dist/my-theme.zip

# Push the theme archive and clean previous versions
$ wpc theme:push --clean dist/my-theme.zip