Summary
Builder for
RenameCommand
.
- Namespace
- Cake
.SevenZip .Builder - Interfaces
-
- I
Support Argument Builder <IHaveArgumentArchive> - I
Support Switch Builder <I Support >Switch Include Filenames - I
Support Switch Builder <I Support >Switch Compression Method - I
Support Switch Builder <I Support >Switch Password - I
Support Switch Builder <I Support >Switch Recurse Subdirectories - I
Support Switch Builder <I Support >Switch Timestamp From Most Recent File - I
Support Switch Builder <I Support >Switch Update Options - I
Support Switch Builder <I Support >Switch Working Directory - I
Support Switch Builder <I Support >Switch Exclude Filenames
- I
- Base Types
-
- object
graph BT
Type-->Base0["object"]
Type-.->Interface0["ISupportArgumentBuilder<IHaveArgumentArchive>"]
Type-.->Interface1["ISupportSwitchBuilder<ISupportSwitchIncludeFilenames>"]
Type-.->Interface2["ISupportSwitchBuilder<ISupportSwitchCompressionMethod>"]
Type-.->Interface3["ISupportSwitchBuilder<ISupportSwitchPassword>"]
Type-.->Interface4["ISupportSwitchBuilder<ISupportSwitchRecurseSubdirectories>"]
Type-.->Interface5["ISupportSwitchBuilder<ISupportSwitchTimestampFromMostRecentFile>"]
Type-.->Interface6["ISupportSwitchBuilder<ISupportSwitchUpdateOptions>"]
Type-.->Interface7["ISupportSwitchBuilder<ISupportSwitchWorkingDirectory>"]
Type-.->Interface8["ISupportSwitchBuilder<ISupportSwitchExcludeFilenames>"]
Type["RenameCommandBuilder"]
class Type type-node
Syntax
public sealed class RenameCommandBuilder : ISupportArgumentBuilder<IHaveArgumentArchive>,
ISupportSwitchBuilder<ISupportSwitchIncludeFilenames>,
ISupportSwitchBuilder<ISupportSwitchCompressionMethod>,
ISupportSwitchBuilder<ISupportSwitchPassword>,
ISupportSwitchBuilder<ISupportSwitchRecurseSubdirectories>,
ISupportSwitchBuilder<ISupportSwitchTimestampFromMostRecentFile>,
ISupportSwitchBuilder<ISupportSwitchUpdateOptions>,
ISupportSwitchBuilder<ISupportSwitchWorkingDirectory>,
ISupportSwitchBuilder<ISupportSwitchExcludeFilenames>
Examples
Task("RenameArchiveContent")
.Does(() =>
{
SevenZip(m => m
.InRenameMode()
.WithArchive(File("path/to/file.zip"))
.WithRenameFile(File("old.txt"), File("new.txt")));
});
Methods
Name | Value | Summary |
---|---|---|
WithRenameFile |
RenameCommandBuilder |
fluent setter for
RenamePairs .
|