Giphy CLI as global dotnet tool - get that url or markdown fast
Comments, ideas, bug reports and PR are welcome here.
Head over to GiphyCli on NuGet or continue reading:
You'll need the .NET Core SDK 2.1.300 or newer to install global tools.
Install the Giphy CLI with this command:
> dotnet tool install --global GiphyCli
To search for a gif, simply use
> giphy lolcats
> giphy cheeseburger
That's it; no options needed. Just pass the search as the first argument.
> giphy "awesome cheeseburger"
So it would look something like this:
And allow you to just paste the markdown that results in this:
- Markdown output ready to copy and paste
- Preview image in iTerm2 (PR by https://github.com/slang25)