Makes 7zip available as a tool in cake
#tool nuget:?package=7-Zip.CommandLine
#addin nuget:?package=Cake.7zip
See also the local documentation and api
#tool nuget:?package=7-Zip.CommandLine
#addin nuget:?package=Cake.7zip
SevenZip(s => s
.InAddMode()
.WithArchive(File("fluent.zip"))
.WithArchiveType(SwitchArchiveType.Zip)
.WithFiles(File("a.txt"), File("b.txt"))
.WithVolume(700, VolumeUnit.Megabytes)
.WithCompressionMethodLevel(9));
#tool nuget:?package=7-Zip.CommandLine
#addin nuget:?package=Cake.7zip
SevenZip(s => s
.InExtractMode()
.WithArchive(File("path/to/file.zip"))
.WithArchiveType(SwitchArchiveType.Zip)
.WithOutputDirectory("some/other/directory"));
If you have questions, search for an existing one, or create a new discussion on the Cake GitHub repository, using the extension-q-a
category.
Cake.7zip follows the Contributor Covenant Code of Conduct.
We accept Pull Requests.
Small note: If editing the Readme, please conform to the standard-readme specification.
This project follows the all-contributors specification. Contributions of any kind welcome!
Thanks goes to these wonderful people (emoji key):
Nils Andresen 💻 📖 |
DiDoHH 📖 |
Heiko Stehli 💻 |