Summary
Builder for
AddCommand
.
- Namespace
- Cake
.SevenZip .Builder - Interfaces
-
- I
Support Argument Builder <IHaveArgumentArchive> - I
Support Argument Builder <IHaveArgumentFiles> - I
Support Argument Builder <I Have >Argument Directories - I
Support Switch Builder <ISupportSwitchVolume> - I
Support Switch Builder <I Support >Switch Compression Method - I
Support Switch Builder <I Support >Switch Archive Type - I
Support Switch Builder <I Support >Switch Password - I
Support Switch Builder <I Support >Switch Nt Security Information - I
Support Switch Builder <I Support >Switch Ntfs Alternate Streams - I
Support Switch Builder <I Support >Switch Compress Files Open For Writing - I
Support Switch Builder <I Support >Switch Timestamp From Most Recent File - I
Support Switch Builder <I Support >Switch Working Directory - I
Support Switch Builder <I Support >Switch Recurse Subdirectories - I
Support Switch Builder <I Support >Switch Include Filenames - I
Support Switch Builder <I Support >Switch Exclude Filenames - I
Support Switch Builder <I Support >Switch Update Options - I
Support Switch Builder <I Support >Switch Delete After Compression - I
Support Switch Builder <I Support >Switch Self Extracting Archive - I
Support Switch Builder <I Support >Switch Fully Qualified File Paths
- I
- Base Types
-
- object
graph BT
Type-->Base0["object"]
Type-.->Interface0["ISupportArgumentBuilder<IHaveArgumentArchive>"]
Type-.->Interface1["ISupportArgumentBuilder<IHaveArgumentFiles>"]
Type-.->Interface2["ISupportArgumentBuilder<IHaveArgumentDirectories>"]
Type-.->Interface3["ISupportSwitchBuilder<ISupportSwitchVolume>"]
Type-.->Interface4["ISupportSwitchBuilder<ISupportSwitchCompressionMethod>"]
Type-.->Interface5["ISupportSwitchBuilder<ISupportSwitchArchiveType>"]
Type-.->Interface6["ISupportSwitchBuilder<ISupportSwitchPassword>"]
Type-.->Interface7["ISupportSwitchBuilder<ISupportSwitchNtSecurityInformation>"]
Type-.->Interface8["ISupportSwitchBuilder<ISupportSwitchNtfsAlternateStreams>"]
Type-.->Interface9["ISupportSwitchBuilder<ISupportSwitchCompressFilesOpenForWriting>"]
Type-.->Interface10["ISupportSwitchBuilder<ISupportSwitchTimestampFromMostRecentFile>"]
Type-.->Interface11["ISupportSwitchBuilder<ISupportSwitchWorkingDirectory>"]
Type-.->Interface12["ISupportSwitchBuilder<ISupportSwitchRecurseSubdirectories>"]
Type-.->Interface13["ISupportSwitchBuilder<ISupportSwitchIncludeFilenames>"]
Type-.->Interface14["ISupportSwitchBuilder<ISupportSwitchExcludeFilenames>"]
Type-.->Interface15["ISupportSwitchBuilder<ISupportSwitchUpdateOptions>"]
Type-.->Interface16["ISupportSwitchBuilder<ISupportSwitchDeleteAfterCompression>"]
Type-.->Interface17["ISupportSwitchBuilder<ISupportSwitchSelfExtractingArchive>"]
Type-.->Interface18["ISupportSwitchBuilder<ISupportSwitchFullyQualifiedFilePaths>"]
Type["AddCommandBuilder"]
class Type type-node
Syntax
public sealed class AddCommandBuilder : ISupportArgumentBuilder<IHaveArgumentArchive>,
ISupportArgumentBuilder<IHaveArgumentFiles>, ISupportArgumentBuilder<IHaveArgumentDirectories>,
ISupportSwitchBuilder<ISupportSwitchVolume>,
ISupportSwitchBuilder<ISupportSwitchCompressionMethod>,
ISupportSwitchBuilder<ISupportSwitchArchiveType>,
ISupportSwitchBuilder<ISupportSwitchPassword>,
ISupportSwitchBuilder<ISupportSwitchNtSecurityInformation>,
ISupportSwitchBuilder<ISupportSwitchNtfsAlternateStreams>,
ISupportSwitchBuilder<ISupportSwitchCompressFilesOpenForWriting>,
ISupportSwitchBuilder<ISupportSwitchTimestampFromMostRecentFile>,
ISupportSwitchBuilder<ISupportSwitchWorkingDirectory>,
ISupportSwitchBuilder<ISupportSwitchRecurseSubdirectories>,
ISupportSwitchBuilder<ISupportSwitchIncludeFilenames>,
ISupportSwitchBuilder<ISupportSwitchExcludeFilenames>,
ISupportSwitchBuilder<ISupportSwitchUpdateOptions>,
ISupportSwitchBuilder<ISupportSwitchDeleteAfterCompression>,
ISupportSwitchBuilder<ISupportSwitchSelfExtractingArchive>,
ISupportSwitchBuilder<ISupportSwitchFullyQualifiedFilePaths>
Examples
Task("ZipIt")
.Does(() =>
{
SevenZip(m => m
.InAddMode()
.WithArchive(File("path/to/file.zip"))
.WithFiles(File("a.txt"))
.WithFiles(File("b.txt"))
.WithVolume(1, VolumeUnit.Gigabytes));
});