VagrantRunner.

FromPath(DirectoryPath) Method

Summary

Sets the working directory for vagrant commands
Assembly
Cake.Vagrant.dll
Namespace
Cake.Vagrant
Containing Type
VagrantRunner

Syntax

public VagrantRunner FromPath(DirectoryPath path)

Examples

Vagrant.FromPath("./path/to/dir").Up();

Parameters

Name Type Description
path DirectoryPath The directory path to run vagrant commands from

Return Value

Type Description
VagrantRunner The command runner