Tiny.Cli 1.0.0

dotnet tool install --global Tiny.Cli --version 1.0.0
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 Tiny.Cli --version 1.0.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Tiny.Cli&version=1.0.0
nuke :add-package Tiny.Cli --version 1.0.0

CLI Tool to access tinypng.com API

by Roger Stich, Roger.Stich@gmx.de

Usage: tiny [option] [argument]

Options:

  • -h, --help Show this help information
  • -c, --current Optimize all images in the current directory
  • -s, --subdir Optimize all images in the current (or provided) directory and subdirectories
  • -f, --file [filename] Optimize the specific file
  • -d, --dir [directory] Optimize all images in the specific directory
  • -o, --out [directory] Output directory for optimized images
  • -r, --resize [size] resize to specific size (only one number)

Installation

you need an API Key from https://tinypng.com/developers Set the API Key as Environment Variable TINY_KEY 500 images per month are free, resizing count as one extra image There is a check for the image size before resizing. If its smaller than the resize value, it will not be resized to safe compressions.

Product Compatible and additional computed target framework versions.
.NET 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.

Version Downloads Last updated
1.0.0 242 10/27/2023

Initial Release