# Boson 0.1 - Initial Release

**URL:** <https://www.ruby-forum.com/t/boson-0-1-initial-release/177671>\
**Category:** Ruby\
**Created:** [October 21, 2009, 8:26pm UTC](https://www.ruby-forum.com/t/boson-0-1-initial-release/177671 "2009-10-21T20:26:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ghorner](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/a183cd/32.png) [@ghorner](https://www.ruby-forum.com/u/ghorner)\
**Post date:** [October 21, 2009, 8:26pm UTC](https://www.ruby-forum.com/t/boson-0-1-initial-release/177671/1 "2009-10-21T20:26:48Z")

</div>

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: [Tagaholic - boson](http://tagaholic.me/boson/)
- blog posts  
\*\* [Tagaholic - Boson - Command Your Ruby Universe](http://tagaholic.me/2009/10/14/boson-command-your-ruby-universe.html)  
\*\*  
[Tagaholic - How Boson Enhances Your Irb Experience](http://tagaholic.me/2009/10/19/how-boson-enhances-your-irb-experience.html)  
\*\* [Tagaholic - Boson And Hirb Interactions](http://tagaholic.me/2009/10/15/boson-and-hirb-interactions.html)

Gabriel

---

<div class="post-metadata">

**Author:** ![ghorner](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/a183cd/32.png) [@ghorner](https://www.ruby-forum.com/u/ghorner)\
**Post date:** [October 21, 2009, 10:23pm UTC](https://www.ruby-forum.com/t/boson-0-1-initial-release/177671/2 "2009-10-21T22:23:18Z")

</div>

ghorner wrote:

> 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?

---

<div class="post-metadata">

**Author:** ![ghorner](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/a183cd/32.png) [@ghorner](https://www.ruby-forum.com/u/ghorner)\
**Post date:** [October 21, 2009, 11:56pm UTC](https://www.ruby-forum.com/t/boson-0-1-initial-release/177671/3 "2009-10-21T23:56:23Z")

</div>

On Oct 21, 4:23 pm, Joel VanderWerf [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> 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

---

<div class="post-metadata">

**Author:** ![ghorner](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/a183cd/32.png) [@ghorner](https://www.ruby-forum.com/u/ghorner)\
**Post date:** [October 22, 2009, 4:46pm UTC](https://www.ruby-forum.com/t/boson-0-1-initial-release/177671/4 "2009-10-22T16:46:50Z")

</div>

On Wed, Oct 21, 2009 at 2:25 PM, ghorner [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> and use outside of boson.

Can you explain why I would use this over thor?

Thanks,  
Rob

---

<div class="post-metadata">

**Author:** ![ghorner](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/a183cd/32.png) [@ghorner](https://www.ruby-forum.com/u/ghorner)\
**Post date:** [October 22, 2009, 9:26pm UTC](https://www.ruby-forum.com/t/boson-0-1-initial-release/177671/5 "2009-10-22T21:26:10Z")

</div>

On Oct 22, 10:46 am, Rob S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> 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:

> **[Tagaholic - How Boson Enhances Your Irb Experience](http://tagaholic.me/2009/10/19/how-boson-enhances-your-irb-experience.html#organization_and_philosophy)**
>
> In previous posts, Boson was introduced as a command framework, usable from the commandline and irb. In this post, we'll focus on how Boson enhances irb by treating methods like shell commands.

And then Boson has this unique set of features:

- Commands can be executed on the commandline and irb:  
[Tagaholic - Boson - Command Your Ruby Universe](http://tagaholic.me/2009/10/14/boson-command-your-ruby-universe.html#shell_and_irb_duality)
- Serves as an irb command manager:  
[Tagaholic - How Boson Enhances Your Irb Experience](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:  
[Tagaholic - Boson - Command Your Ruby Universe](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:  
[Tagaholic - Boson And Hirb Interactions](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:  
[Tagaholic - How Boson Enhances Your Irb Experience](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:  
[Tagaholic - Boson - Command Your Ruby Universe](http://tagaholic.me/2009/10/14/boson-command-your-ruby-universe.html#namespaces)

Hope that helped,  
Gabriel

---

<div class="post-metadata">

**Author:** ![ghorner](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/a183cd/32.png) [@ghorner](https://www.ruby-forum.com/u/ghorner)\
**Post date:** [October 23, 2009, 10:43am UTC](https://www.ruby-forum.com/t/boson-0-1-initial-release/177671/6 "2009-10-23T10:43:34Z")

</div>

Boson’s Organization and Philosophy is great,I like it
