repositorypackage
0.3.1
Repository: https://github.com/aligaygisiz/xkcd-cli.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# README
xkcd-cli
A simple CLI application to download and display xkcd comics.
Usage
Display the latest comic with the system's default image viewer:
xkcd-cli display latest
Display a specific comic with the system's default image viewer:
xkcd-cli display [number]
Display a random comic with the system's default image viewer:
xkcd-cli display random
Download the latest comic to the current directory:
xkcd-cli get latest
Download a specific comic to the current directory:
xkcd-cli get [number]
Download a random comic to the current directory:
xkcd-cli get random
Installation
Install with prebuilt binaries
Get the binary for your system in releases.
Install with go install
go install github.com/AliGaygisiz/xkcd-cli@latest
Install with git
git clone https://github.com/AliGaygisiz/xkcd-cli.git
cd xkcd-cli
go build .
If you want to install the binary to your default Go bin folder:
go install .