5

I am still relatively new to Ruby and would like to write a program using an interactive shell like interface,meanjng that people type the name of the program "taskflow" and the app starts, putting them into interactive mode. Is there a good framework for it or is it hard to write it myself? If not, any ideas or tips on how to accomplish it?

Comments
  • 0
    try typing "irb" on the console. Is that what do you want? I dont think I got your idea :/
  • 0
    @javierojeda sadly no. I want a program similar to irb. I type the name "taskflow" and the program starts a loop taking the input parsing it and associating it to commands and then executing them. After the command has been executed, the program waits for the next user input
  • 0
    @javierojeda here is an example image from a Java framework. http://imgur.com/2FLypAq

    Starting the application starts a loop that takes in commands and processes them. Indicated by the custom prompt :) I want to do the exact same thing in Ruby. The program starts, puts out a custom prompt and waits for commands from the user. Is there some framework that offers such a functionality and if not, how can I achieve something like this? Fairly new to Ruby tho. Any help is appreciated.
Add Comment