Nigella ======= This program isn't really relevant to most people but I like to publish all these random little things in case other people find it informative or educational. Installation ============ The program can be installed in the usual cabal style: cabal configure cabal build cabal install or you can run it from source: runhaskell Nigella.hs Usage ===== The program can be run with no arguments and will print the default summary. nigella It takes a number of optional flags to change the output: -t --text This is the default when no flags are passed on the command line. Normal statistics breakdown, showing number of recipes per chapter and the number cooked. Also there is a percentage completion for the whole book and for the duration of the challenge so far. -c N --catchup=N Tells you how many recipes would need to be cooked in order to catch up in the next N days. -p --pending Print list of recipes which still need to be cooked (or blogged!) broken down by chapter. -m --monthly -w --weekly Number of recipes cooked in each month or each week so far. Months are named "January", "February" etc and weeks are numbered from 1 for the first week in January. -s --sparkline=FILE A graphical representation of the --weekly flag. Write out a neat little bar chart, in the style of Edward Tufte's sparklines, as a PNG. This information is available by passing either of the following arguments: -h --help Output these usage details -v --version Version information