Ruby command line MVC framework?

I want to write a shell application, * nix basically. And now I love Ruby, especially the "rails".

So, if there was a structure that applied rails similar to concepts on the ruby ​​command line, then that would be really fantastic.

I already looked into SimpleCommand and Hirb, nothing I was looking for.

Develop:

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

This is not a shell if I wanted irb to work fine. It will be more like your options: A, B, C, and they will work as http links.

+3
source share
2 answers

You should take a look at the menu bosonand hirb[2d]. The first is for creating commands, the second is for options A, B, C and user / dynamic representations for data output.

+1
source

Maybe you should try script/consolerails in your application. Is that what you wanted?

-1
source

Source: https://habr.com/ru/post/1750992/


All Articles