Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ruby command line MVC framework?

I'm looking to write an app for the shell, *nix mostly. And I'm currently in love with Ruby, especially the 'rails way'.

So if there was a framework that applied rails like concepts to the commandline in ruby then that would be really fantastic.

I'v allready looked into SimpleCommand and Hirb, nothing quite what I was looking for.

To elaborate:

What I'm really looking for is a way to use a rails like (directory and application) structure to create a MVC command line application. So basically something like rails that doesn't respond to http, but instead reads and writes to the console.

Its not a shell, if i wanted that then irb works fine. It would be more like your options are A,B,C and they would work a bit like http links.

like image 974
thomasfedb Avatar asked Sep 22 '26 02:09

thomasfedb


1 Answers

You should take a look at boson and hirb [2d] menus. First one for creation of commands, second one - for A,B,C options and custom/dynamic views for outputting data.

like image 138
Eimantas Avatar answered Sep 23 '26 20:09

Eimantas



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!