NAME

export.tree.pl - Export cpan.metacurator.sqlite as HTML + jsTree

SYNOPSIS

export.as.tree.pl [options]

Options:
-dag_nodetree_path Path
-help
-home_path
-include_packages
-jstree_html_path Path
-log_level info

All switches can be reduced to a single letter, except of course -he and -ho.

Exit value: 0.

OPTIONS

o dag_nodetree_path Path

The path for the output of the DAG_Node::Tree.

Default: '/tmp/dag_node.tree.txt'.

o help

Print help and exit.

o home_path String

The path to the directory containing data/ and html/. Unpack distro to populate.

Default: $ENV{HOME}/perl.modules/CPAN-MetaCurator.

o include_packages Boolean

Allow CPAN::MetaCurator to include or exclude the table 'packages' from CPAN::MetaPackager. If the table is included in processing, the code then recognizes all known module names.

scripts/export.tree.sh looks for an env var called INCLUDE_PACKAGES.

Default: 0 (exclude).

o jstree_html_path Path

The path for the output HTML + jsTree.

Default: 'html/cpan.metacurator.tree.html'.

o log_level String

Available log levels are trace, debug, info, warn, error and fatal, in that order.

Default: info.