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
  • 2 years ago
  • 2 hours ago
  • 5 years ago

Installs

  • Total 18K
  • Win 5K
  • OS X 10K
  • Linux 4K
Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8
Windows 0 4 2 2 0 2 2 2 2 2 2 1 4 2 2 5 1 1 2 0 2 1 2 0 0 1 1 2 1 1 2 1 1 2 3 0 2 3 2 2 2 2 3 0 3 1
OS X 0 1 4 0 2 0 2 2 5 0 0 0 1 1 3 6 4 2 1 2 3 2 1 3 3 1 3 4 0 2 0 1 0 3 3 1 3 4 2 1 3 1 2 1 1 3
Linux 0 1 1 0 1 1 1 0 2 2 2 0 3 2 0 1 0 0 1 0 2 0 0 2 0 1 1 0 2 1 0 1 1 0 1 2 0 0 1 1 1 1 1 1 0 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.