https://github.com/knowler/wp-cli-talk
A talk called Supercharge Your Workflow with WP-CLI prepared for WordCamp YYC 2018
https://github.com/knowler/wp-cli-talk
Last synced: 2 months ago
JSON representation
A talk called Supercharge Your Workflow with WP-CLI prepared for WordCamp YYC 2018
- Host: GitHub
- URL: https://github.com/knowler/wp-cli-talk
- Owner: knowler
- Created: 2018-05-12T18:35:08.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-25T09:59:30.000Z (about 8 years ago)
- Last Synced: 2026-01-02T21:41:25.883Z (6 months ago)
- Size: 1000 Bytes
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Supercharge Your Workflow with WP-CLI
A talk on WP-CLI prepared for WordCamp YYC 2018.
## Resources
- [WP-CLI Website](//wp-cli.org)
- [WP-CLI Handbook](//make.wordpress.org/cli/handbook/)
## Packages demonstrated
- [`valet`](//github.com/aaemnnosttv/wp-cli-valet-command)
- [`login`](//github.com/aaemnnosttv/wp-cli-login-command)
- [`doctor`](//github.com/wp-cli/doctor-command)
- [`wp-sec`](//github.com/markri/wp-sec)
## When in doubt ask for `help`
General help:
```bash
wp --help
```
Specific help:
```bash
wp help
```
## Jumping Around WordPress
### Jump to themes directory
```bash
cd `wp theme path`
```
### Jump to active theme
```bash
cd `wp theme path`/`wp option get stylesheet`
```
If you are using a theme like [Sage](//roots.io/sage), then you will need to account for the subdirectory (i.e. `sage/resources`).
```bash
cd `wp theme path`/`wp option get stylesheet | cut -d/ -f1`
```