VagrantAliases Class

Summary

Gets a runner to control Vagrant through the CLI. See the documentation on GitHub for a full API reference.
Assembly
Cake.Vagrant.dll
Namespace
Cake.Vagrant
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["VagrantAliases"] class Type type-node

Syntax

public static class VagrantAliases

Examples

Vagrant.Init("hashicorp/precise64");
Vagrant.Up(s => s.UseProvider("virtualbox"));
Vagrant.Suspend();
Vagrant.Halt();
Vagrant.Destroy();

Remarks

Roughly equivalent to the vagrant command.

Attributes

Type Description
CakeAliasCategoryAttribute
CakeNamespaceImportAttribute
CakeNamespaceImportAttribute

Methods

Name Value Summary
Vagrant(ICakeContext) VagrantRunner
Gets a runner to control Vagrant through the CLI
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin