ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Vagrant

by Stubbs ST2/ST3

Vagrant commands for Sublime Text

Details

  • 2015.10.10.17.51.17
  • github.​com
  • github.​com
  • 1 year ago
  • 1 hour ago
  • 4 years ago

Installs

  • Total 17K
  • Win 5K
  • OS X 9K
  • Linux 3K
Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6
Windows 4 2 1 2 2 2 3 2 3 6 4 0 2 4 1 3 2 2 4 1 2 1 4 3 6 1 4 1 0 1 4 2 0 1 0 5 4 3 2 2 3 1 2 1 2 2
OS X 4 4 4 2 1 2 2 2 6 1 3 0 2 1 3 2 3 8 2 1 4 3 4 1 4 0 0 1 1 4 2 1 3 1 2 2 2 2 3 2 1 1 6 2 4 2
Linux 0 0 0 2 3 1 1 1 4 2 1 0 0 1 1 3 2 2 0 2 1 2 1 1 0 2 0 2 3 1 2 1 0 1 1 3 3 3 0 1 1 2 4 3 4 1

Readme

Source
raw.​githubusercontent.​com

Sublime-vagrant

Implements common Vagrant commands.

  • Init Create a new Vagrantfile in the root directory of your project.
  • Status: Will show the status of this project's VM
  • Up: Starts this project's VM
  • Provision: Runs configured provisioners
  • Halt: Forcefully suspends the VM
  • Suspend: Suspends the VM
  • Resume: Resumes the VM
  • Reload: Reloads Vagrantfile (equivalent to halt then up)
  • Destroy: Destroys the VM. Be careful, you won't be asked to confirm.
  • Destroy & Up: Destroys the VM and starts it again. Useful for resetting to a known position.
  • Rsync: Rsync files from host to guest.

Settings

You can set up a different vagrant path if your Vagrant binary is not installed in the default location, or you're using Sublime-Vagrant on a windows machine.

{
    "vagrant_path": "/usr/bin/vagrant",
    "vagrantfile_path": "/vagrant",
    "additional_args": ['-h', '-v'],
    "output_to_window": true
}

By default Sublime-Vagrant will scan your first open folder and traverse up from there looking for a Vagrantfile, alternatively you may provide the “vagrantfile_path” setting which allows you to manually specify a relative path.

There are very few additional arguments you can pass to Vagrant so by default there are none in the setting file.

Contributors

If you submit any bug fixes or improvements, don't forget to add yourself to the list of contributors.