logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

cpan2doap - generate DOAP data from a CPAN distribution's root directory

Author

       Toby Inkster <tobyink@cpan.org>.

Bugs

       Please report any bugs to <http://rt.cpan.org/Dist/Display.html?Queue=RDF-DOAP-Lite>.

Description

       The cpan2doap command generates DOAP data in either RDF/XML or Turtle serialization from the 'META.json'
       and 'Changes' files often found in a CPAN distribution's root directory.

Disclaimer Of Warranties

       THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT  ANY  EXPRESS  OR  IMPLIED  WARRANTIES,  INCLUDING,  WITHOUT
       LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.

perl v5.38.2                                       2024-03-09                                      CPAN2DOAP(1p)

Examples

       For many distributions, accepting the defaults is adequate:

               cpan2doap

       For older distributions which use 'META.yml' instead of 'META.json':

               cpan2doap -m META.yml

       To output data in Turtle format (less verbose than RDF/XML):

               cpan2doap -o doap.ttl

Name

       cpan2doap - generate DOAP data from a CPAN distribution's root directory

Options

--meta-file=F,-mF
           Input file name conforming to CPAN::Meta::Spec.  Defaults to 'META.json'.

       --changes-file=F,-cF
           Input file name conforming to CPAN::Changes::Spec.  Defaults to 'Changes'.

       --output-file=F,-oF
           File name for output. Defaults to 'doap.rdf'.

       --output-format=X
           Output format. One of 'xml', 'ttl' or 'auto'.

       --help,--usage,-h
           Shows help.

       --version,-V
           Show version information.

See Also

       RDF::DOAP::Lite.

Synposis

cpan2doap [options]

See Also