felix rosencrantz | help2simple.pl | ||||||||||||
introduction |
The help2simple.pl script is designed to make it easy to take usage information from a command and convert that into the simple XML completion format. Which via XSL can be converted to zsh completion functions. | ||||||||||||
process |
The process you use to get a completion
function is as follows.
|
||||||||||||
files |
|
||||||||||||
related |
Related tools: help2man -- A perl script that parses help output to create a man page. This script handles flag help text spans multiple lines. It also parses out the leading usage message, and section titles. Some of these features would be useful to add to help2simple.pl. Getopt::Declare Declaratively Expressed Command-Line Arguments via Regular Expressions. With this perl module the user specifies getopt via a help syntax. I haven't used this module. Though it seems, that the help has to be in the special format, which is relatively free format. It would be great if this library could output a data structure that could be used by help2simple.pl parse_opts Arguments processing tool by Martin Ebourne. Designed as both a completion tool and the command line parsing tool. |
||||||||||||
Web site Copyright © 2001 Felix Rosencrantz, f_rosencrantz@yahoo.com |