GiphyCli 2.1.0
See the version list below for details.
dotnet tool install --global GiphyCli --version 2.1.0
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local GiphyCli --version 2.1.0
#tool dotnet:?package=GiphyCli&version=2.1.0
nuke :add-package GiphyCli --version 2.1.0
giphy-cli
A .NET Global tool to search for a gif on Giphy and optionally open the link in the browser or copy the link or markdown to the clipboard.
Was featured in a presentation about .NET interactive notebooks at .NET Conf 2020: https://youtu.be/938jBJ-tK3c?t=1025
There is an example notebook included dotnet-interactive-notebook-sample.ipynb
Comments, ideas, bug reports and PR are welcome here.
Get started
Head over to GiphyCli on NuGet or continue reading:
You'll need the .NET 6 runtime or newer.
Install the Giphy CLI with this command:
> dotnet tool install --global GiphyCli
Update the Giphy CLI with this command:
> dotnet tool update --global Giphycli
To search for a gif, simply use
> giphy lolcats
Usage
> giphy cheeseburger
> giphy "awesome cheeseburger"
Output markdown only, great for using in notebooks.
> giphy cheeseburger -m
> giphy cheeseburger --markdown
Giphy CLI now an includes interactive prompt.
Have markdown copied to clipboard et voila.
Features
- Interactive prompt: Open giphy.com URL, copy .gif deeplink or copy markdown to clipboard
- Preview image in iTerm2 (PR by https://github.com/slang25)
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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 was computed. 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. |
This package has no dependencies.
Extra `-m` option to only output markdown.