Extract metadata from a theme file using WordPress internals and output it as a structured manifest.

Usage

wpc theme:manifest [options] [--] <input>

Arguments

input
string
required

Path to the stylesheet file (e.g. my-theme/style.css).

Options

--get
string

If set, outputs only the value of the specified property (e.g. Name, Version, Author, etc.).

Examples

# Display full manifest
$ wpc theme:manifest my-plugin/style.css

# Output only the version
$ wpc theme:manifest my-plugin/style.css --get=Version