diff --git a/CommandVessel.cs b/CommandVessel.cs index 8a56365..0e1d353 100644 --- a/CommandVessel.cs +++ b/CommandVessel.cs @@ -21,6 +21,19 @@ public override void Evaluate() } } + [CommandAttribute("QUICKSAVE")] + class CommandVesselQuickSave : Command + { + public CommandVesselQuickSave(Match regexMatch, ExecutionContext context) : base(regexMatch, context) { } + + public override void Evaluate() + { + QuickSaveLoad.QuickSave(); + + State = ExecutionState.DONE; + } + } + [CommandAttribute("ADD *")] public class CommandAddObjectToVessel : Command { diff --git a/README.md b/README.md index e432455..2e0059b 100644 --- a/README.md +++ b/README.md @@ -196,6 +196,13 @@ Example: LOG 4+1 to mylog . LOG “4 times 8 is: “ + (4*8) to mylog. +### QUICKSAVE + +Quicksaves. +Example: + + QUICKSAVE. + ### RENAME Renames a file or volume.