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
  • 12 minutes ago
  • 4 years ago

Installs

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