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 initializes the current directory to be a Vagrant environment by creating an initial Vagrantfile if one does
not already exist.
- Assembly
- Cake
.Vagrant .dll - Namespace
- Cake
.Vagrant - Containing Type
- VagrantRunner
Syntax
public void Init(string name, Action<VagrantInitSettings> configure)
Parameters
Name | Type | Description |
---|---|---|
name | string | Will prepopulate the config.vm.box setting in the created Vagrantfile with the specified name |
configure | Action |
Settings to control the initialising process |
Return Value
Type | Description |
---|---|
void |