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
This command saves a new named snapshot.
- Assembly
- Cake
.Vagrant .dll - Namespace
- Cake
.Vagrant .Commands - Containing Type
- Vagrant
Snapshot Runner
Syntax
public void Save(string name)
Examples
Vagrant.Snapshot.Save("CakeScript");
Remarks
If this command is used, the
Push()
and Cake.Vagrant.Commands.VagrantSnapshotRunner.Pop(System.Action{Cake.Vagrant.Settings.VagrantSnapshotRestoreSettings})
subcommands cannot be safely used.Parameters
Name | Type | Description |
---|---|---|
name | string | Name of the snapshot |
Return Value
Type | Description |
---|---|
void |