From e9feba3c0810eb1ba2683e7a8a433be6776eb552 Mon Sep 17 00:00:00 2001 From: Joe Hoyle Date: Tue, 6 Aug 2019 15:54:34 -0400 Subject: [PATCH] Add docs on piping for DB imports --- docs/wp-cli.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/wp-cli.md b/docs/wp-cli.md index dcca3bff..630ad4f6 100644 --- a/docs/wp-cli.md +++ b/docs/wp-cli.md @@ -11,3 +11,9 @@ To install a a new language file and activate it: ```sh composer local-server cli -- language core install fr_FR ``` + +CLI commands via Local Server also support piping, for example import a database SQL file: + +```sh +composer local-server cli -- db import - < ~/Downloads/database.sql +```