Created
September 29, 2012 15:59
-
-
Save stm555/3804453 to your computer and use it in GitHub Desktop.
PHP Storm External Command Description
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In PHPStorm choose "Settings" => "Command Line Tool Support" and add a "Custom Framework". Add the following vales into popuped franework-settings window: | |
- Framework name: vagrant | |
- Tool path: /usr/local/bin/vagrant (check with command "which vagrant" on your computer to get the right path) | |
- Alias: vagrant | |
- Description: Whatever you want to describe | |
After clicking ok a xml file is opened in the editor, just put the above code from vagrant.xml into it. After saving you can controll vagrant within phpstorm using CTRL+ALT+X keys. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<framework | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:noNamespaceSchemaLocation="schemas/frameworkDescriptionVersion1.1.xsd" | |
name="vagrant" | |
invoke="vagrant" | |
alias="vagrant" | |
enabled="true" | |
version="1"> | |
<command> | |
<name>box add</name> | |
<help>vagrant box add [options] box-name url <br/> The name | |
used with the vagrant box add command is the name used to reference the | |
box from that point forward. Any box can be named anything you want. | |
Boxes that are added using vagrant box add are global to the vagrant | |
install, and they are stored at on the local filesystem. | |
</help> | |
<params>box-name</params> | |
<params>url</params> | |
</command> | |
<command> | |
<name>box list</name> | |
<help>vagrant box list <br/>list all installed boxes</help> | |
</command> | |
<command> | |
<name>box remove</name> | |
<help>vagrant box remove [options] [box-name] <br/> | |
This command removes the installed box. <br/> | |
Warning: There is no going back from this command. This command | |
literally deletes the files off the filesystem. | |
</help> | |
<params>box-name</params> | |
</command> | |
<command> | |
<name>destroy</name> | |
<help>vagrant halt [box-name] <br/> | |
Destroys the vagrant environment</help> | |
<params>box-name[=null]</params> | |
</command> | |
<command> | |
<name>halt</name> | |
<help>vagrant halt [options] [box-name] <br/> | |
Halts the currently running vagrant environment | |
</help> | |
<params>box-name[=null]</params> | |
</command> | |
<command> | |
<name>init</name> | |
<help>vagrant init [options] <br/> | |
Initializes current folder for Vagrant usage | |
</help> | |
<params>box-name[=null]</params> | |
<params>url[=null]</params> | |
</command> | |
<command> | |
<name>provision</name> | |
<help>vagrant provision [box-name] <br/> | |
Runs the provisioning scripts without reloading the entire Vagrant environment. | |
</help> | |
<params>box-name[=null]</params> | |
</command> | |
<command> | |
<name>reload</name> | |
<help>vagrant reload [box-name] <br/> | |
This command adds new puppet modules to the vagrant environment and | |
corrects path changes, afterwards the environment is completly reloaded. | |
</help> | |
<params>box-name[=null]</params> | |
</command> | |
<command> | |
<name>resume</name> | |
<help>vagrant resume [box-name] <br/> | |
When you’re ready to get rolling again its just as easy to start your virtual machine back up with this command. | |
</help> | |
<params>box-name[=null]</params> | |
</command> | |
<command> | |
<name>status</name> | |
<help>vagrant status [box-name] <br/> | |
This command tells you the status of your current project’s environment. | |
</help> | |
<params>box-name[=null]</params> | |
</command> | |
<command> | |
<name>suspend</name> | |
<help>vagrant suspend [box-name] <br/> | |
This command advices VirtualBox to take a snapshot of the box’s current state from which you can resume later. | |
</help> | |
<params>box-name[=null]</params> | |
</command> | |
<command> | |
<name>up</name> | |
<help>vagrant up [options] <br/> | |
This command builds the VirtualBox and sets it up based on the specifications of the Vagrantfile | |
</help> | |
</command> | |
</framework> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment