Displays the current Wonderpress CLI version that is installed.
This can also be called with the shorthand wonderpress -v
.
Options
--dir=<directory>
A relative path to a directory with a valid .wonderpressrc
file. Defaults to the current directory.
Examples
# Get the current version (easiest way) $ wonderpress -v Wonderpress CLI 2.3.2 # Compile all static assets (alternative method) $ wonderpress version Wonderpress CLI 2.3.2