validate_pgxn_meta - Validate the structure of a PGXN META.json file
validate_pgxn_meta validate_pgxn_meta mumble.json
-h --help Print a usage statement and exit. -M --man Print the complete documentation and exit. -v --version Print the version number and exit.
Validates a PGXN META.json file against the PGXN meta specification. If a file name is passed, that file will be validated. Otherwise, if a file named META.json exists in the current directory, it will be validated.
If META.json valid, the output will be:
META.json is OK
If it's not valid, the output will look something like:
META.json is invalid. Errors: Missing mandatory field, 'license' (license) [Validation: 1.0.0]
PGXN::Meta::Validator is the class that does the actual validation, and may be used programmatically.
David E. Wheeler <email@example.com>
Copyright (c) 2011 David E. Wheeler. Some Rights Reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.