Debian Codegraph @

README

raw
1
2
3 Term::ShellUI
4
5
6 Term::ShellUI makes it easy to implement a comprehensive Bash or
7 GDB-like command line user interface. It supports history,
8 autocompletion, quoting, escaping, pretty much everything you would
9 expect of a decent shell.
10
11 Homepage: http://github.com/bronson/Term-ShellUI
12 CPAN: http://search.cpan.org/search?query=Term%3A%3AShellUI
13
14
15 CODE
16
17 Git: git clone git://github.com/bronson/Term-ShellUI.git
18 Svn: svn co http://svn.github.com/bronson/Term-ShellUI.git Term-ShellUI
19
20
21 PREREQUISITES
22
23 None! It runs just fine with Perl's default Term::ReadLine. However,
24 unless you install Term::ReadLine::GNU, basic functionality like
25 completion, line editing, and history will not work.
26
27 If you're on Windows then Term::ReadLine::Perl will be easier to install
28 and work almost as well. The only limitation is that it can't print
29 hints for the user during completion (the completemsg call).
30
31
32 INSTALLATION
33
34 perl Makefile.PL
35 make
36 make test
37 make install
38
39
40 USAGE
41
42 Run examples/synopsis-big. Type 'help' to display the available commands
43 or 'help exists' to show detailed help for the exists command. Notice how
44 everything can be tab-completed. Try passing the wrong number of
45 arguments to a command. Scroll back through history using the up arrow
46 or Control-R. Also try using the history command.
47
48 Run 'perldoc lib/Term/ShellUI.pm' to see the API documentation.
49
50 Report bugs and submit patches via GitHub.
51
52
53 ALTERNATIVES
54
55 Term::CiscoCLI http://ciscocli.sourceforge.net/
56 A fork/rewrite to make the command line feel like a Cisco
57 (Stanford) style CLI. Also adds a bunch of useful features.
58
59 Term::TUI
60 Presents a hierarchical command line interface.
61
62
63 LICENSE
64
65 Copyright (c) 2003-2011 Scott Bronson, all rights reserved.
66 All the code in this archive is covered by the MIT license.
67
68
69 AUTHOR
70
71 Scott Bronson
72 [email protected]
73