Content Deep Dive
12 Hacks of Christmas – Day 3: Santa CLI
Blog post from Twilio
Post Details
Company
Date Published
Author
Jarod Reyes
Word Count
2,133
Language
English
Hacker News Points
-
Source URL
Summary
Jarod Reyes, a parent, created a command-line tool called Santa CLI to interact with the North Pole. The tool uses Ruby-gem, Thor, and Twilio to send secret messages to festive recipients. The tool has several commands, including "begin" to register as a parent, "ping" to see what Santa is up to, and "telegraph" to send a message as one of Santa's helpers with a time delay. The tool uses Thor's actions to save input to disk and can be extended by the community. Jarod provides instructions on how to build the tool from scratch using Bundler, Twilio, and Thor, and encourages users to modify and extend the tool to make it even more magical.