-
-
Save hongster/2d6db3c393bdff864ef4c7d36e166154 to your computer and use it in GitHub Desktop.
Wrapper for Cli.Fyi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
me="$(basename "$(test -L "$0" && readlink "$0" || echo "$0")")" | |
if [ $1 ] | |
then | |
curl "https://cli.fyi/$1" | |
else | |
echo "Try these👇 | |
$me BTC | |
$me john.doe@10minutemail.com | |
$me 8.8.8.8 | |
$me https://youtu.be/ahkR4a184Gs | |
$me me | |
$me github.com | |
$me hash/HelloWorld | |
$me time | |
$me emojis | |
$me help" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment