J
James Britt
DESCRIPTION
-----------
Rhesus is a tool for copying over templates with optional embedded
string interpolation.
It started as a way to make jump-starting Jimpanzee
(http://neurogami.github.com/Jimpanzee/) apps easier, but the
user-defined templates need not have anything to do with any special
library or programming language.
Basically, you create a skeleton of the files you want as templates in
some suitably-named subdirectory of ~/.rhesus.
If any of those files contain Erb variables, they will be used to prompt
the user for real values when that template is used to generate files
and directories.
The same value gets applied in all cases where that variable is used.
Some magic is used to handle proper casing for class and file names.
The results are copied out to a directory relative to where you invoked
the 'rhesus' script.
FEATURES/PROBLEMS
-----------------
Generates files for you to jump-start projects that have common code.
Makes assorted assumptions, and needs more testing with a variety of
template sources.
Recently added better template name matching, and the ability to install
new templates via git.
Driven by the "Works for James" criteria. Feedback is welcome.
Source is up on github: http://github.com/Neurogami/rhesus
See the README.md file there for more details.
--
James Britt
www.jamesbritt.com - Playing with Better Toys
www.ruby-doc.org - Ruby Help & Documentation
www.rubystuff.com - The Ruby Store for Ruby Stuff
www.neurogami.com - Smart application development
-----------
Rhesus is a tool for copying over templates with optional embedded
string interpolation.
It started as a way to make jump-starting Jimpanzee
(http://neurogami.github.com/Jimpanzee/) apps easier, but the
user-defined templates need not have anything to do with any special
library or programming language.
Basically, you create a skeleton of the files you want as templates in
some suitably-named subdirectory of ~/.rhesus.
If any of those files contain Erb variables, they will be used to prompt
the user for real values when that template is used to generate files
and directories.
The same value gets applied in all cases where that variable is used.
Some magic is used to handle proper casing for class and file names.
The results are copied out to a directory relative to where you invoked
the 'rhesus' script.
FEATURES/PROBLEMS
-----------------
Generates files for you to jump-start projects that have common code.
Makes assorted assumptions, and needs more testing with a variety of
template sources.
Recently added better template name matching, and the ability to install
new templates via git.
Driven by the "Works for James" criteria. Feedback is welcome.
Source is up on github: http://github.com/Neurogami/rhesus
See the README.md file there for more details.
--
James Britt
www.jamesbritt.com - Playing with Better Toys
www.ruby-doc.org - Ruby Help & Documentation
www.rubystuff.com - The Ruby Store for Ruby Stuff
www.neurogami.com - Smart application development