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
  • 3 years ago
  • 1 hour ago
  • 6 years ago

Installs

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