NAME

extract-schemas2 - Extract schemas and optionally emit Perl tests

SYNOPSIS

extract-schemas2 [options] <module.pm>

Options:
  --output-dir DIR       Directory for schema files (default: schemas/)
  --emit-tests           Generate Perl tests from schemas
  --test-dir DIR         Output directory for generated tests (default: t/generated/)
  --strict-pod=off|warn|fatal
  --verbose
  --help
  --man

DESCRIPTION

This tool extracts method schemas from a Perl module and can optionally generate Perl test files using App::Test::Generator::Emitter::Perl.

EXAMPLES

Extract Only

extract-schemas2 lib/MyModule.pm

Extract and Generate Tests

extract-schemas2 --emit-tests lib/MyModule.pm

Custom Test Directory

extract-schemas2 --emit-tests --test-dir t/auto lib/MyModule.pm

SEE ALSO

App::Test::Generator, App::Test::Generator::SchemaExtractor, App::Test::Generator::Emitter::Perl

AUTHOR

Nigel Horne