Posted By: Judson Lester
Date: 2008-01-10 04:42
Summary: command-set 0.9.0 Released
Project: CommandSet

command-set version 0.9.0 has been released!

CommandSet is a interactive program framework. Its focus is a DSL for defining commands, much like Rake or RSpec. The actual interpreter is left as an open question, although a default readline based terminal interpreter is included, it could very well be adapted to interact with CGI or a GUI.

Changes:

** Marked release 0.9.0 **

Command-sets can now have arguments, which their commands
can partake of using the parent_arguments method.

CommandSets retain their arguments if used as a mode, so it's now easy to do
something like "config virtual web_servers" and have "web_servers" available
as an argument to child commands - and also have "config virtual web_servers
add ip_17" and have that work as you might expect. (If you've used IOS on a
load balancer...)

Some back end changes - including (and huge) a visitor pattern that takes
over positional command processing, completion, and other "where am I now?"
type functions.

sub_command arguments - so that you can more naturally group commands that
share arguments and issue commands like "tell seven delete" or something.

Subject based argument bases. Otherwise, how do we refer easily
to elements of the subject. Besides, why do complete, validate and parse
all take a "subject" parameter? This was why.

Updated DSL::Formatting - now list and item stuff works from anywhere

Removing diagramming as an option: not portable enough



Project: http://rubyforge.org/project/commandset/
Homepage: http://commandset.rubyforge.org/

Latest News
icalendar 1.4.0 Released
    Ryan Ahearn - 2013-05-21 23:17
BinData 1.5.0 - source moved to github
    Dion Mendel - 2013-05-21 11:10
v13.5.0 Released !!
    id 774 - 2013-05-18 12:28
Runt v0.9.0 Released
    Matthew Lipper - 2013-05-17 00:11
kramdown 1.0.2 released
    Thomas Leitner - 2013-05-09 06:58

 

Forums | Admin

Discussion Forums: command-set-0.9.0-released

Start New Thread Start New Thread

 

Topic Topic Starter Replies Last Post