Note: This command is not part of a stable WP-CLI release yet. To use it now, switch to the nightly build with wp cli update --nightly. If you installed the command as a separate package, updating that package may be enough.
To list, get, create, update or delete font faces, use wp post with --post_type=wp_font_face.
Examples
# Install a font face for an existing family
$ wp font face install 42 --src="/?url=https%3A%2F%2Fexample.com%2Ffont.woff2" --font-weight=700
Success: Created font face 43.
# List installed font faces
$ wp post list --post_type=wp_font_face
Subcommands
| Name | Description |
|---|---|
| wp font face install | Installs a font face. |