Summary
Builder for
ExtractCommand
.
- Namespace
- Cake
.SevenZip .Builder - Interfaces
-
- I
Support Argument Builder <IHaveArgumentArchive> - I
Support Switch Builder <I Support >Switch Archive Type - I
Support Switch Builder <I Support >Switch Compression Method - 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 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 Include Archive Filenames - I
Support Switch Builder <I Support >Switch Exclude Archive Filenames - I
Support Switch Builder <I Support >Switch Disable Parsing Of Archive Name - I
Support Switch Builder <I Support >Switch Overwrite Mode - I
Support Switch Builder <I Support >Switch Output Directory - 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["ISupportSwitchBuilder<ISupportSwitchArchiveType>"]
Type-.->Interface2["ISupportSwitchBuilder<ISupportSwitchCompressionMethod>"]
Type-.->Interface3["ISupportSwitchBuilder<ISupportSwitchPassword>"]
Type-.->Interface4["ISupportSwitchBuilder<ISupportSwitchNtSecurityInformation>"]
Type-.->Interface5["ISupportSwitchBuilder<ISupportSwitchNtfsAlternateStreams>"]
Type-.->Interface6["ISupportSwitchBuilder<ISupportSwitchRecurseSubdirectories>"]
Type-.->Interface7["ISupportSwitchBuilder<ISupportSwitchIncludeFilenames>"]
Type-.->Interface8["ISupportSwitchBuilder<ISupportSwitchExcludeFilenames>"]
Type-.->Interface9["ISupportSwitchBuilder<ISupportSwitchIncludeArchiveFilenames>"]
Type-.->Interface10["ISupportSwitchBuilder<ISupportSwitchExcludeArchiveFilenames>"]
Type-.->Interface11["ISupportSwitchBuilder<ISupportSwitchDisableParsingOfArchiveName>"]
Type-.->Interface12["ISupportSwitchBuilder<ISupportSwitchOverwriteMode>"]
Type-.->Interface13["ISupportSwitchBuilder<ISupportSwitchOutputDirectory>"]
Type-.->Interface14["ISupportSwitchBuilder<ISupportSwitchFullyQualifiedFilePaths>"]
Type["ExtractCommandBuilder"]
class Type type-node
Syntax
public sealed class ExtractCommandBuilder : ISupportArgumentBuilder<IHaveArgumentArchive>,
ISupportSwitchBuilder<ISupportSwitchArchiveType>,
ISupportSwitchBuilder<ISupportSwitchCompressionMethod>,
ISupportSwitchBuilder<ISupportSwitchPassword>,
ISupportSwitchBuilder<ISupportSwitchNtSecurityInformation>,
ISupportSwitchBuilder<ISupportSwitchNtfsAlternateStreams>,
ISupportSwitchBuilder<ISupportSwitchRecurseSubdirectories>,
ISupportSwitchBuilder<ISupportSwitchIncludeFilenames>,
ISupportSwitchBuilder<ISupportSwitchExcludeFilenames>,
ISupportSwitchBuilder<ISupportSwitchIncludeArchiveFilenames>,
ISupportSwitchBuilder<ISupportSwitchExcludeArchiveFilenames>,
ISupportSwitchBuilder<ISupportSwitchDisableParsingOfArchiveName>,
ISupportSwitchBuilder<ISupportSwitchOverwriteMode>,
ISupportSwitchBuilder<ISupportSwitchOutputDirectory>,
ISupportSwitchBuilder<ISupportSwitchFullyQualifiedFilePaths>
Examples
Task("UnzipIt")
.Does(() =>
{
SevenZip(m => m
.InExtractMode()
.WithArchive(File("path/to/file.zip"))
.WithArchiveType(SwitchArchiveType.Zip)
.WithOutputDirectory("some/other/directory"));
});
Task("UnzipVolumes")
.Does(() =>
{
SevenZip(m => m
.InExtractMode()
.WithArchive(File("path/to/file.7z.001"))
.WithArchiveType(SwitchArchiveType.SevenZip.Volumes())
.WithOutputDirectory("some/other/directory"));
});
Methods
Name | Value | Summary |
---|---|---|
With |
Extract |
Sets UseFullPaths to true on the
ExtractCommand .
|
Without |
Extract |
Sets UseFullPaths to false on the
ExtractCommand .
(copies all extracted files to one directory).
|