Skip to content

Commit

Permalink
Merge pull request #46 from humanmade/docs-stin-import
Browse files Browse the repository at this point in the history
Add docs on piping for DB imports
  • Loading branch information
joehoyle authored Aug 7, 2019
2 parents a8edeb0 + e9feba3 commit 0a2076a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/wp-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

0 comments on commit 0a2076a

Please sign in to comment.