Based on hubot-scripts/howdoi
See src/howdoi.coffee
for full documentation.
In hubot project repo, run:
npm install hubot-howdoi --save
Then add hubot-howdoi to your external-scripts.json
:
["hubot-howdoi"]
user1>> hubot howdoi date format linux
hubot>> http://stackoverflow.com/questions/1401482/yyyy-mm-dd-format-date-in-shell-script
hubot>> DATE=`date +%Y-%m-%d`
hubot>> DATE=`date +%Y-%m-%d:%H:%M:%S`
hubot>> $man date