Leoric
Overview
Project initialization from skeleton files. This should just work on any Unix as the only requirements are bash and m4.
Usage
% leoric -s ~/.leoric/skeletons -I ~/.leoric/macros -t ruby -n name
Take a look at the man page for more detailed usage instructions.
Installation
Linux
In order to ease installation, there are packages on packagecloud. Follow their install guide in order to set up the repository for your Linux distro.
OSX
brew tap mrtazz/oss
brew install leoric
You can also run the make install
task if you prefer:
make install PREFIX=/usr/local
It might be a good idea to just set up an alias with default configurations:
alias leoric='leoric -s ~/.leoric/skeletons -I ~/.leoric/macros'
And then use it like leoric -n name -t ruby
.
Inspiration and related work
Why m4?
- it's available almost anywhere
- no real additional dependency
- macros should be simple anyways