atuttle / zoidbox

An IRC bot that (attempts to) bring the knowledge and wit of @boyzoid to ##coldfusion on freenode
3 stars 6 forks source link

add ability to export a gist of all custom descriptions #34

Closed ryanguill closed 9 years ago

ryanguill commented 9 years ago

not sure the command, maybe just #exportDocs

ryanguill commented 9 years ago

some notes and ideas:

I should be able to hash the array I get from redis of the custom descriptions and store the hash with the gist ID of the latest output - so if nothing new has been added I don't regenerate a new gist. Also we can fork the gist and update so that we can see a history of the export over time (not sure how useful this really is but will be cool nonetheless)

https://developer.github.com/v3/gists/#fork-a-gist

ryanguill commented 9 years ago

so im going to go ahead and close this - it might be nice to sort the keys at some point (I believe they are coming out in the order they were created right now), and it would still be neat to try and do the forking thing at some point.

ryanguill commented 9 years ago

make markdown the default, and sort the keys before exporting.