I have just released skema, a very simple tool I wrote to automate some repetitive coding tasks. Nothing fancy, just a ruby script that expands ERB templates in a directory, reading variable values from the command line, configuration files, or interactively.
Its purpose is similar to kapptemplate (it already includes a minimal KDE application template), but it may be faster to use for little things, and it is probably easier to create templates for it.
Here is a tarball for those of you who want to try it out. You can find a short tutorial in the README file that should be enough to get you started.
Here is a screenshot of skema in interactive mode while expanding the kapp template:

November 19, 2007 at 8:43 pm |
As I said before, you rule.
November 19, 2007 at 8:52 pm |
[...] In this post I’d also like to point out to you about an extremely valuable tool, written by one of my KDE co-hacker and good friend Paolo Capriotti. I just noticed he blogged about it, I tried it this afternoon when he first shown his prerelease to me, and I must say it really rocks. It’s a tool written in ruby which performs similar tasks than kapptemplate (see kdesdk), but it works with templates and it’s *way* more powerful. It’s written for KDE 4 so that’s also a big plus (meaning automatic generation of CMake file, etc…). =) It also comes with very handy tools builtin, and does *much* more than just generate empty apps, like it has the ability to add a GPLv2 header license to multiple source files with a one liner command line, or the ability to create skeletons for classes just as simply. Here’s the link to his blog entry: http://pcapriotti.wordpress.com/2007/11/19/skema-01/ [...]
November 19, 2007 at 9:30 pm |
Nice. This really comes in handy for some of my coding. Thanks a lot!
November 20, 2007 at 6:35 pm |
[...] de eso, me he enterado de que se acaba de liberar una primera versión de una herramienta llamada Skema. Es un script de Ruby que genera plantillas para desarrollar aplicaciones para KDE4. Tiene buena [...]
December 16, 2007 at 10:47 am |
[...] skema 0.1 I have just released skema, a very simple tool I wrote to automate some repetitive coding tasks. Nothing fancy, just a […] [...]
January 16, 2008 at 7:11 pm |
This rocks! Do you plan to make a 0.2 release?
November 18, 2008 at 8:23 pm |
Спасибо, много полезного почерпнул.
November 6, 2009 at 5:28 am |
Спасибо было интересно читать.