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
Additional settings for the
vagrant init
command
- Assembly
- Cake
.Vagrant .dll - Namespace
- Cake
.Vagrant .Settings - Interfaces
-
- I
Vagrant Command Settings
- I
- Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type-.->Interface0["IVagrantCommandSettings"]
Type["VagrantInitSettings"]
class Type type-node
Syntax
public class VagrantInitSettings : IVagrantCommandSettings
Constructors
Name | Summary |
---|---|
VagrantInitSettings |
Properties
Name | Value | Summary |
---|---|---|
Force | Nullable |
Gets or sets a value indicating whether to force initialization, even if an existing Vagrantfile is found
|
Minimal | Nullable |
This enables the creation of a more minimal Vagrantfile that does not contain the instructional comments the normal
Vagrantfile contains
|
OutputFile | string |
Gets or sets the file to output the Vagrantfile to
|
VersionConstraint | string |
The box version or box version constraint to add to the Vagrantfile
|
Methods
Name | Value | Summary |
---|---|---|
GetToolArguments |
Action |
Gets the command arguments corresponding to the specified settings
|
Extension Methods
Name | Value | Summary |
---|---|---|
ConstrainVersion |
VagrantInitSettings |
Sets the box version or box version constraint to add to the Vagrantfile
Requires the Cake.Vagrant addin
|
CreateMinimal |
VagrantInitSettings |
Enables creation of a more minimal Vagrantfile without instructional comments
Requires the Cake.Vagrant addin
|
Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
Force |
VagrantInitSettings |
Enables overwriting any existing Vagrantfile
Requires the Cake.Vagrant addin
|
IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
NotNull |
void |
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
OutputToFile |
VagrantInitSettings |
Sets the
FilePath to output the new Vagrantfile to
Requires the Cake.Vagrant addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
From StringExtensions
Requires the Cake.Issues addin
|