You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: View a XKCD comic in your console
Usage: xkcd [-h] [-q] [-v] [-f] [-l <log_dir>] [-t <tmp_dir>] <action>
Flags, options and parameters:
-h|--help : [flag] show usage [default: off]
-q|--quiet : [flag] no output [default: off]
-v|--verbose : [flag] output more [default: off]
-f|--force : [flag] do not ask for confirmation (always yes) [default: off]
-l|--log_dir <?> : [option] folder for log files [default: /Users/pforret/log/xkcd]
-t|--tmp_dir <?> : [option] folder for temp files [default: /tmp/xkcd]
<action> : [parameter] action to perform: last/random
### TIPS & EXAMPLES
* use xkcd last to view last/latest XKCD comic
* use xkcd random to view random XKCD comic
* use xkcd check to check if this script is ready to execute and what values the options/flags are
xkcd check
* use xkcd env to generate an example .env file
xkcd env > .env
* use xkcd update to update to the latest version
xkcd update
* >>> bash script created with pforret/bashew
* >>> for bash development, also check out pforret/setver and pforret/progressbar