Skip to content

Instantly share code, notes, and snippets.

@clns
Created May 25, 2017 15:31
Show Gist options
  • Save clns/78149da7ace54442154efb3e06ff51bf to your computer and use it in GitHub Desktop.
Save clns/78149da7ace54442154efb3e06ff51bf to your computer and use it in GitHub Desktop.
[WIP] PhpStorm sitestacker support
<?xml version="1.0" encoding="UTF-8"?>
<framework xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="schemas/frameworkDescriptionVersion1.1.4.xsd" name="Custom_sitestacker" invoke="C:\Windows\System32\sitestacker.exe" alias="sitestacker" enabled="true" version="2">
<command>
<name>db</name>
<help><![CDATA[Import a remote Site Stacker database into your local database server]]></help>
<params>url</params>
<optionsBefore>
<option name="--dry-run" shortcut="-n">
<help><![CDATA[Show all actions that will take place, without making any changes]]></help>
</option>
<option name="--exclude" shortcut="-e" pattern="equals">
<help><![CDATA[Tables to exclude the data for (default [activities,activity_people,api_log,api_log_entry_points,api_log_identifiers,api_log_identifier_assignments,change_log_hashes,change_log_hash_treepaths,change_log_entries,developer_error_logs,audit_logs,audit_log_changes,cache_changes,cache_change_uses,task_jobs])]]></help>
</option>
<option name="--force" shortcut="-e">
<help><![CDATA[Force will overwrite the local database with the same name, if exists]]></help>
</option>
<option name="--help" shortcut="-h">
<help><![CDATA[[Print usage]]></help>
</option>
<option name="--keep-file">
<help><![CDATA[Keep the downloaded backup file instead of deleting it]]></help>
</option>
<option name="--method" shortcut="-m" pattern="equals">
<help><![CDATA[Backup methods (default [native,bacpac,sqlazuremw,queries])]]></help>
</option>
<option name="--name" shortcut="-d" pattern="equals">
<help><![CDATA[Database name to create; if empty, it will use the database from the local database.php])]]></help>
</option>
<option name="--remote" shortcut="-d" pattern="equals">
<help><![CDATA[A Site Stacker URL, as if you run the command on that installation])]]></help>
</option>
<option name="--source-database" pattern="equals">
<help><![CDATA[Database to download; if empty, it will use the database from database.php])]]></help>
</option>
</optionsBefore>
</command>
<help><![CDATA[Site Stacker Service]]></help>
</framework>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment