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 box remove
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["VagrantBoxRemoveSettings"]
class Type type-node
Syntax
public class VagrantBoxRemoveSettings : IVagrantCommandSettings
Constructors
Name | Summary |
---|---|
Vagrant |
Properties
Name | Value | Summary |
---|---|---|
BoxVersion | string |
Version of version constraints of the boxes to remove. See
Version for more
details.
|
Force | Nullable |
Forces removing the box even if an active Vagrant environment is using it.
|
Provider | string |
The provider-specific box to remove with the given name.
|
RemoveAll | Nullable |
Remove all available versions of a box.
|
Methods
Name | Value | Summary |
---|---|---|
GetToolArguments |
Action |
Gets the command arguments corresponding to the specified settings
|
Extension Methods
Name | Value | Summary |
---|---|---|
ConstrainVersion |
Vagrant |
Sets the version constraint for the box to remove
Requires the Cake.Vagrant addin
|
Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
Force |
Vagrant |
Forces removing the box even if an active Vagrant environment is using it.
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 |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
RemoveAll |
Vagrant |
Remove all available versions of a box.
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 |
Returns the string value or a
Not set > markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|
UseProvider |
Vagrant |
The provider-specific box to remove with the given name.
Requires the Cake.Vagrant addin
|