File: README

package info (click to toggle)
libterm-shellui-perl 0.92-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid, stretch
  • size: 252 kB
  • ctags: 99
  • sloc: perl: 1,286; makefile: 9
file content (73 lines) | stat: -rw-r--r-- 1,874 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73


                       Term::ShellUI


Term::ShellUI makes it easy to implement a comprehensive Bash or
GDB-like command line user interface.  It supports history,
autocompletion, quoting, escaping, pretty much everything you would
expect of a decent shell.

Homepage:   http://github.com/bronson/Term-ShellUI
CPAN:       http://search.cpan.org/search?query=Term%3A%3AShellUI


CODE

Git: git clone git://github.com/bronson/Term-ShellUI.git
Svn: svn co http://svn.github.com/bronson/Term-ShellUI.git Term-ShellUI


PREREQUISITES

None!  It runs just fine with Perl's default Term::ReadLine.  However,
unless you install Term::ReadLine::GNU, basic functionality like
completion, line editing, and history will not work.

If you're on Windows then Term::ReadLine::Perl will be easier to install
and work almost as well.  The only limitation is that it can't print
hints for the user during completion (the completemsg call).


INSTALLATION

perl Makefile.PL
make
make test
make install


USAGE

Run examples/synopsis-big.  Type 'help' to display the available commands
or 'help exists' to show detailed help for the exists command.  Notice how
everything can be tab-completed.  Try passing the wrong number of
arguments to a command.  Scroll back through history using the up arrow
or Control-R.  Also try using the history command.

Run 'perldoc lib/Term/ShellUI.pm' to see the API documentation.

Report bugs and submit patches via GitHub.


ALTERNATIVES

Term::CiscoCLI         http://ciscocli.sourceforge.net/
  A fork/rewrite to make the command line feel like a Cisco
  (Stanford) style CLI.  Also adds a bunch of useful features.

Term::TUI
  Presents a hierarchical command line interface.


LICENSE

Copyright (c) 2003-2011 Scott Bronson, all rights reserved.
All the code in this archive is covered by the MIT license.


AUTHOR

Scott Bronson
bronson@rinspin.com