CompressedStaticFiles.Tools
1.0.4
.NET 5.0
dotnet tool install --global CompressedStaticFiles.Tools --version 1.0.4
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local CompressedStaticFiles.Tools --version 1.0.4
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=CompressedStaticFiles.Tools&version=1.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package CompressedStaticFiles.Tools --version 1.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
CompressedStaticFiles.Tools
A CLI tool that allows to compress static assets using Brotli or GZip
Instalation
dotnet tool install --global CompressedStaticFiles.Tools
Usage
Description:
A CLI tool that allows to compress static assets using Brotli or GZip
Usage:
CompressedStaticFiles.Tools [<search_pattern1 search_pattern2 ...>...] [options]
Arguments:
<search_pattern1 search_pattern2 ...>
Options:
-w, --workdir <workdir> Use directory relative to CWD [default: current directory]
-gz, --gzip Compress to GZip
-br, --brotli Compress to GZip
--batch <batch> Number of compressions to execute simultaneously [default: 1]
--version Show version information
-?, -h, --help Show help and usage information
Example: Compress all files in current directory recursively.
dotnet-compress *.* -br -gz
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows |
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
Test release