Several times, I’ve wished I could write command-line tools to manage Catalyst applications. Those tools, invariably, needed to call some of the Catalyst functions, or at least get to the database.
I found a way, and it’s so simple it hurts. I can’t help think this is one of those things the Catalyst team will read and think, “Well, duh!” but it was never clear to me and I struggled with it for months. (more…)