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

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.