VagrantPluginRunner Class

Summary

Wrapper around the vagrant plugin subcommands
Assembly
Cake.Vagrant.dll
Namespace
Cake.Vagrant.Commands
Base Types
graph BT Type-->Base0["VagrantCommandRunner"] click Base0 "/api/Cake.Vagrant.Commands/VagrantCommandRunner" Base0-->Base1["Object"] Type["VagrantPluginRunner"] class Type type-node

Syntax

public class VagrantPluginRunner : VagrantCommandRunner

Constructors

Properties

Name Value Summary
Log ICakeLog
Logging output
Inherited from VagrantCommandRunner
Runner Action<VagrantSettings, ProcessArgumentBuilder>
Action to trigger invocation of the CLI
Inherited from VagrantCommandRunner
Settings VagrantSettings
Settings for invocation of the Vagrant CLI
Inherited from VagrantCommandRunner

Methods

Name Value Summary
Install(IEnumerable<string>, Action<VagrantPluginInstallSettings>) void
This installs multiple plugins at the same time with the given names or paths
Install(string, Action<VagrantPluginInstallSettings>) void
This installs a plugin with the given name or file path.
Uninstall(string[]) void
This uninstalls the plugin with the given name. If multiple plugins are given, multiple plugins will be uninstalled.
Update(string) void
This updates the plugins that are installed within Vagrant.

Extension Methods

Name Value Summary
Dump<VagrantPluginRunner>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<VagrantPluginRunner>(VagrantPluginRunner[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<VagrantPluginRunner>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<VagrantPluginRunner>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<VagrantPluginRunner>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<VagrantPluginRunner>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin