andrewlock-ci - dotnet-tinify 0.2.0

A simple tool for squashing PNG and JPEG files using the TinyPNG API

PM> Install-Package dotnet-tinify -Version 0.2.0 -Source https://www.myget.org/F/andrewlock-ci/api/v3/index.json

Copy to clipboard

> nuget.exe install dotnet-tinify -Version 0.2.0 -Source https://www.myget.org/F/andrewlock-ci/api/v3/index.json

Copy to clipboard

> dotnet tool install -g dotnet-tinify --version 0.2.0 --add-source https://www.myget.org/F/andrewlock-ci/api/v3/index.json

Copy to clipboard
<DotNetCliToolReference Include="dotnet-tinify" Version="0.2.0" />
Copy to clipboard
source https://www.myget.org/F/andrewlock-ci/api/v3/index.json

nuget dotnet-tinify  ~> 0.2.0
Copy to clipboard

> choco install dotnet-tinify --version 0.2.0 --source https://www.myget.org/F/andrewlock-ci/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "andrewlock-ci" -SourceLocation "https://www.myget.org/F/andrewlock-ci/api/v2"
Install-Module -Name "dotnet-tinify" -RequiredVersion "0.2.0" -Repository "andrewlock-ci" 
Copy to clipboard

dotnet-tinify

AppVeyor build status

NuGet MyGet

A simple tool for squashing PNG and JPEG files using the TinyPNG API.

Can compress all the PNG or JPEG files in a directory or just single files.

Installation

The latest release of dotnet-tinify requires the 2.1.300 .NET Core 2.1 SDK or newer. Once installed, run this command:

dotnet tool install --global dotnet-tinify

Usage

Usage: dotnet tinify [arguments] [options]

Arguments:
  path  Path to the file or directory to squash

Options:
  -?|-h|--help            Show help information
  -a|--api-key <API_KEY>  Your TinyPNG API key

You must provide your TinyPNG API key to use this tool
(see https://tinypng.com/developers for details). This
can be provided either as an argument, or by setting the
TINYPNG_APIKEY environment variable.
Only png, jpeg, and jpg, extensions are supported.
  • .NETCoreApp 2.1
  • .NETCoreApp 2.1: 2.1.0.0

Owners

Andrew Lock

Authors

Andrew Lock

Project URL

https://github.com/andrewlock/dotnet-tinify

License

MIT

Info

132 total downloads
14 downloads for version 0.2.0
Download (517.36 KB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
0.2.0 517.36 KB Thu, 31 May 2018 12:33:07 GMT 14
0.2.0-rtm.10 517.35 KB Thu, 11 Oct 2018 17:58:11 GMT 17
0.2.0-rtm.9 517.37 KB Fri, 20 Jul 2018 04:17:42 GMT 13
0.2.0-rtm.8 517.37 KB Fri, 01 Jun 2018 05:10:26 GMT 9
0.2.0-rtm.6 517.37 KB Thu, 31 May 2018 12:29:33 GMT 15
0.1.0 509.65 KB Wed, 28 Mar 2018 11:04:40 GMT 19
0.1.0-rtm.4 509.66 KB Wed, 28 Mar 2018 11:01:02 GMT 12
0.1.0-rtm.3 509.66 KB Wed, 28 Mar 2018 10:58:06 GMT 15
0.1.0-beta.2 509.67 KB Wed, 28 Mar 2018 10:56:28 GMT 18