VagrantInitSettingsExtensions Class

Summary

Fluent extension methods for the VagrantInitSettings class
Assembly
Cake.Vagrant.dll
Namespace
Cake.Vagrant.Settings
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["VagrantInitSettingsExtensions"] class Type type-node

Syntax

public static class VagrantInitSettingsExtensions

Methods

Name Value Summary
ConstrainVersion(VagrantInitSettings, string) VagrantInitSettings
Sets the box version or box version constraint to add to the Vagrantfile
static
CreateMinimal(VagrantInitSettings) VagrantInitSettings
Enables creation of a more minimal Vagrantfile without instructional comments
static
Force(VagrantInitSettings, bool) VagrantInitSettings
Enables overwriting any existing Vagrantfile
static
OutputToFile(VagrantInitSettings, FilePath) VagrantInitSettings
Sets the FilePath to output the new Vagrantfile to
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin