Slide 1

Slide 1 text

WP CLI A talk by Tom J Nowell

Slide 2

Slide 2 text

I’m Tom J Nowell Code For The People

Slide 3

Slide 3 text

I’ll Cover ● What is WP CLI ● What’s a Command Line ● Running a command ● WP CLI Commands

Slide 4

Slide 4 text

WP CLI WordPress, Command Line Interface A tool for terminal users

Slide 5

Slide 5 text

What is The Terminal?

Slide 6

Slide 6 text

❯ date

Slide 7

Slide 7 text

❯ date Wed 20 Aug 2014 17:46:41 BST

Slide 8

Slide 8 text

❯ command parameter1 parameter2 etc...

Slide 9

Slide 9 text

Essential Commands ● ls what’s inside this folder ● cd foldername change into another folder ● cd .. go up one folder

Slide 10

Slide 10 text

Opening the Terminal

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

Once installed, open your WordPress folder on the terminal GIF by Chris Coyier of CSS Tricks

Slide 13

Slide 13 text

Some of the Things WP CLI Can Do ● Create Posts ● Create Users ● Download plugins and themes ● Database Queries ● Installing WordPress

Slide 14

Slide 14 text

E.g. Adding an author to a site: ❯ wp user create bob [email protected] --role=author

Slide 15

Slide 15 text

A demonstration

Slide 16

Slide 16 text

Questions?