Skip to content

vip dev-env import

Import media or database files to a local environment.

Usage

vip dev-env import [options] [command]

Options

OptionDescription
-d, --debug Activate debug output
-h, --help Output the help for the (sub)command
-v, --version Output the version number

Examples

- Import the SQL file named "file.sql" from a path on the user's local machine to a running local environment.
$ vip dev-env import sql /Users/example/Downloads/file.sql

- Import the contents of the "uploads" directory from a path on the user's local machine to the "/wp-content/uploads" directory of a running local environment.
$ vip dev-env import media /Users/example/Desktop/uploads

Subcommands

NameDescription
media Import media files to a running local environment.
sql Import a SQL file to a running local environment.

Last updated: June 05, 2024