CompressedStaticFiles.Tools
1.0.4
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 Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
Test release