Boson 0.1 - Initial Release

G

ghorner

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.

Links:
* homepage: http://tagaholic.me/boson/
* blog posts
** http://tagaholic.me/2009/10/14/boson-command-your-ruby-universe.html
** http://tagaholic.me/2009/10/19/how-boson-enhances-your-irb-experience.html
** http://tagaholic.me/2009/10/15/boson-and-hirb-interactions.html

Gabriel
 
J

Joel VanderWerf

ghorner said:
Hi,
I'm introducing Boson, a command/task framework similar to rake and
thor which executes commands from the commandline and irb.

Does it do dependencies, rules, etc. as in rake?
 
G

ghorner

Does it do dependencies, rules, etc. as in rake?

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.

Gabriel
 
R

Rob Sanheim

[Note: parts of this message were removed to make it a legal post.]

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.
Can you explain why I would use this over thor?

Thanks,
Rob
 
G

ghorner

Can you explain why I would use this over thor?

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: http://tagaholic.me/2009/10/19/how-...b-experience.html#organization_and_philosophy

And then Boson has this unique set of features:

* Commands can be executed on the commandline and irb:
http://tagaholic.me/2009/10/14/boson-command-your-ruby-universe.html#shell_and_irb_duality
* Serves as an irb command manager:
http://tagaholic.me/2009/10/19/how-boson-enhances-your-irb-experience.html
* You can execute commands with less typing by aliasing commands,
options and option values: http://tagaholic.me/2009/10/14/boson-command-your-ruby-universe.html#just_alias_it
* Any command can render with optional views without adding view code
in the command: http://tagaholic.me/2009/10/15/boson-and-hirb-interactions.html
* You can make commands from a gem's API simply with entries in a
config file: http://tagaholic.me/2009/10/19/how-boson-enhances-your-irb-experience.html#gem_library
* Namespaces are optional which means you can make your own ruby shell
with your commands: http://tagaholic.me/2009/10/14/boson-command-your-ruby-universe.html#namespaces

Hope that helped,
Gabriel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,967
Messages
2,570,148
Members
46,694
Latest member
LetaCadwal

Latest Threads

Top