VagrantSnapshotRunner.

Save(string) Method

Summary

This command saves a new named snapshot.
Assembly
Cake.Vagrant.dll
Namespace
Cake.Vagrant.Commands
Containing Type
VagrantSnapshotRunner

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