This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Vagrant.
Summary
This installs a plugin with the given name or file path.
- Assembly
- Cake
.Vagrant .dll - Namespace
- Cake
.Vagrant .Commands - Containing Type
- VagrantPluginRunner
Syntax
public void Install(string name, Action<VagrantPluginInstallSettings> configure = null)
Examples
Vagrant.Plugin.Install("plugin",
s => s.CleanFirst()
.FromSource("http://source")
.SetEntryPoint("main.sh"));
Remarks
If the name is not a path to a file, then the plugin is installed from remote repositories, usually RubyGems.
Parameters
Name | Type | Description |
---|---|---|
name | string | Name or path of the plugin to install |
configure | Action |
Optional settings to control the installation process |
Return Value
Type | Description |
---|---|
void |