validate_pgxn_meta - Validate the structure of a PGXN META.json file
validate_pgxn_meta META.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.
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 <david@kineticode.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.
To install PGXN::Meta::Validator, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PGXN::Meta::Validator
CPAN shell
perl -MCPAN -e shell install PGXN::Meta::Validator
For more information on module installation, please visit the detailed CPAN module installation guide.