Using LinkController: Invoking the Programs

[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ] |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

# A. Invoking the LinkController Programs

Because they use the Perl `Getopt::Mixed` module, all of the LinkController command line programs respond to the standard POSIX style command line options. At least the following two options will be implemented.

``--help'`
  This option will give a list of all of the options understood by the program along with brief explanations of what they do. At present it may lie a little, but that is being corrected.
``--version'`
  This option will give some version information for the program.

You can use the ``--help'` option to get help on each program, for example:

    extract-links --help

will give something like

    extract-links [arguments] [url-base [file-base]]

     -V --version            Give version information for this program
     -h --help --usage       Describe usage of this program.
        --help-opt=OPTION    Give help information for a given option
     -v --verbose[=VERBOSITY] Give information about what the program is doing.  Set
                             value to control what information is given.

     -e --exclude-regex=REGEX Exclude expression for excluding files.
     -p --prune-regex=REGEX  Regular expression for excluding entire directories.
     -d --default-infostrucs handle all default infostrucs (as well as ones listed
                             on command line)

     -l --link-database=FILENAME Database to create link records into.
     -c --config-file=FILENAME Load in an additional configuration file

     -o --out-url-list=FILENAME File to output the url of each link found to
     -i --in-url-list=FILENAME File to input urls from to create links

    Extract the link and index information from a directory containing
    HTML files or from a set of WWW pages with URLs which begin with the
    given URL and which can be found by starting from that URL and
    searching other such pages.

You can then use that information to get the program to do what you want.

[ << ] | [ >> ] |  |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

This document was generated by Michael De La Rue on January, 6 2002 using texi2html