Skip to content

Browse: Home / VIP-CLI Commands / vip dev-env / vip dev-env import

vip dev-env import [options] [command]

Import data into a local WordPress environment

Commands

NameDescription
mediaImport media files to the dev environment of your application from a compressed web archive. This command will copy the contents of a folder to the `uploads` folder of the target dev environment.
sqlImport SQL to your dev-env database from a file

Options

ArgumentDescription
-d, --debugActivate debug output
-h, --helpOutput the help for the (sub)command
-v, --versionOutput the version number

Examples

   # Import the given SQL file to your site
    $ vip dev-env import sql file.sql

Global Options

ArgumentDescription
-a, --app=<app>Specify the app
-d, --debugActivate debug output
-e, --env=<env>Specify the environment
-h, --helpOutput the help for the (sub)command
-v, --versionOutput the version number
-y, --yesRun the command in production without a confirmation prompt

Last updated: October 04, 2022