From: "Derrick B." Date: 2013-01-05T12:45:23+09:00 Subject: Re: require "test/unit" Posted by tamouse mailing lists (Guest) on 2013-01-05 03:22 > > There is a structure for building command-line applications that may > be something you want to adopt. > > I'm going to point you to davetron1000's gems: methadone and GLI, both > of which are builders for command-line apps (kind of like rails is for > web apps). They provide some nifty things for making nice CLI apps, > but possibly the tl;dr is that you implement the bare minimum in the > part that does the part to take arguments from the command line, and > then pass them to your classes/modules/etc, which are in separate > files. > Posted by D. Deryl Downey (ddd) on 2013-01-05 03:25 > I would also recommend you get the book called Build Awesome > Command-Line Applications in Ruby, by David Bryant Copeland. Excellent > book! Thanks! This is all good information, but I feel I need to improve my Ruby basics first before learning to use these frameworks. I will install them to at least take a peek, though. I have been reading "The Ruby Programming Language", "Programming Ruby" (1.8 edition), "Everyday Scripting with Ruby", and have "The Well Grounded Rubyist" on the way. I like the "Everyday..." book, because it gets right into script creation through testing, which should be useful for my Perl side, too. Thanks again, -- Posted via http://www.ruby-forum.com/.