xkcd-cli
A simple CLI application to download and display xkcd comics.
Used urfave/cli for the cli magic.
I originally planned to use cobra for this project. However, on the day I started development, a dependency of
cobrawas down (the developer was hosting it on a private server), preventing me from downloading it. So, I started withurfave/cliinstead.
Usage
Display Command
Display the latest comic using your system’s default image viewer:
Display a specific comic by number:
Display a random comic:
Get Command
Download the latest comic to the current directory:
Download a specific comic:
Download a random comic:
Installation
Prebuilt Binaries
Download the binary for your system in Releases Page
Install via Go
Build from Source
To install the binary to your $GOPATH/bin:

