
Config::Model::TermUI - Provides Config::Model UI à la Term::ReadLine

my $model = Config::Model -> new ;
my $inst = $model->instance (root_class_name => 'RootClass',
instance_name => 'my_instance');
my $root = $inst -> config_root ;
my $term_ui = Config::Model::TermUI->new( root => $root ,
title => 'My Title',
prompt => 'My Prompt',
);
# engage in user interaction
$term_ui -> run_loop ;

This module provides a helper to construct pure ascii user interface on top of Term::ReadLine. To get better interaction you must install either Term::ReadLine::Gnu or Term::ReadLine::Perl.
Depending on your installation, either Term::ReadLine::Gnu or Term::ReadLine::Perl. See Term::ReadLine to override default choice.

See "USER COMMAND SYNTAX" in Config::Model::SimpleUI.

Root node of the configuration tree
UI title
UI prompt. The prompt will be completed with the location of the current node.

Engage in user interaction until user enters '^D' (CTRL-D).

cd in a hash where the index contains a white space. I.e. the correct command is cd foo:"a b" instead of cd foo: "a b" as proposed by auto completion.
Dominique Dumont, (ddumont at cpan dot org)

Config::Model, Config::Model::Instance, Config::Model::Node,