Archive

Treatments group for dealing with archives files.

Available Treatments

These are the treatments currently provided by the "Archive" treatment group:

Treatment
Arguments
Description

archive.extract

["path", "to_path"]

Extracts an archive at given "path" to the "to_path".

The archive format must be supported by Repository Manager, and have the correct file extension for the format.

For list of supported archive formats:

Supported Archive Formats

Example:

{
    ...
    "treatments": [
        {
            "treatment": "archive.extract",
            "arguments": ["default-images.zip", "apps/wiigallery/images/"]
        },
    ],
    ...
}

Last updated