Hi,
I’m introducing Boson, a command/task framework similar to rake and
thor which executes commands from the commandline and irb.
To install: gem install boson
Features:
Commands are just methods on main which means they’re executed
similarly from the commandline and irb.
Command libraries, which are just modules, are written in non-dsl
ruby which allows for easy testing
and use outside of boson.
Comes with default commands to load, search, list and install
commands and libraries.
Commands can be full-blown commandline apps thanks to powerful
options and hirb’s views.
Commands can have views toggled without adding view code to your
original command.
Command libraries are social as a user can install them from a url
and then customize command
names and options without changing the original library.
Not currently. Boson’s aim so far has been more generic. It focuses on
allowing any ruby method to map to a full blown commandline app.
If you do find some of Boson’s other features appealing and would like
to add dependencies to it, we could look into it. Shouldn’t be too
hard.
Sure. Boson can do what Thor can minus defining argument types and the
generator-specific features. Unlike Thor, Boson’s command libraries
are just plain ruby. This means you can test and use your libraries
without Boson: