# WPCLI

This is only a list of the most used commands line of wpcli

# Complete documentation

Offical wpcli docs

# DB

# Create a database:

wp db create db_name


# Export your database

wp db export


# Import your database

wp db import

# Users

# Create user

wp user create bob bob@example.com --role=author


# Get user list

wp user list


# Update user password

wp user update id_user --user_pass=user_password


# Update user role

wp user update id_user --role=user_role


Last Updated: 4/6/2020, 9:25:11 AM