vip import media
Import media files to the production environment of your application from a compressed web archive
Usage
vip import-media [options] [command]
Options
Option | Description |
---|---|
-a , --app |
Target an application. Accepts a string value for the application name or an integer for the application ID. |
-d , --debug |
Generate verbose output during command execution to help identify or fix errors or bugs. |
-e , --env |
Target an environment. Accepts a string value for the environment type. |
-E , --exportFileErrorsToJson |
Export any file errors encountered to a JSON file instead of a plain text file (disabled by default) |
-f , --force |
Skip confirmation. (disabled by default) |
-h , --help |
Retrieve a description, examples, and available options for a (sub)command. |
-i , --importIntermediateImages |
Import intermediate image files (disabled by default) |
-o , --overwriteExistingFiles |
Overwrite any existing files (disabled by default) |
-v , --version |
Retrieve the version number of VIP-CLI currently installed on the local machine. |
Examples
- Start a media import with the contents of the archive file in the URL
$ vip import media @mysite.production https://
- Check the status of the most recent import. If an import is running, this will poll until it is complete.
$ vip import media status @mysite.production
- Abort an ongoing import
$ vip import media abort @mysite.production
Subcommands
Last updated: July 11, 2024