CPAN2DOAP(1p)
π CPAN2DOAP π
okay bestie so the manual name is cpan2doap and the whole point of it is generating DOAP data from a CPAN distribution's root directory. that's the vibe. periodt.
β¨ NAME β¨
cpan2doap β generate DOAP data from a CPAN distribution's root directory π¦
β¨ SYNPOSIS β¨
cpan2doap [options]
literally that's it. no positional args, no chaos, just vibes and flags π
β¨ DESCRIPTION β¨
so the cpan2doap command generates DOAP data β in either RDF/XML or Turtle serialization β from the META.json and Changes files that are, like, often found in a CPAN distribution's root directory. that's the whole assignment. no cap. π
β¨ OPTIONS β¨
--meta-file=F,-m Fβ the input file name, and it has to conform to CPAN::Meta::Spec. defaults toMETA.json. πΈ--changes-file=F,-c Fβ the input file name, and this one has to conform to CPAN::Changes::Spec. defaults toChanges. β¨--output-file=F,-o Fβ the file name for output. defaults todoap.rdf. π--output-format=Xβ the output format, bestie. one ofxml,ttlorauto. π--help,--usage,-hβ shows help. (she's helpful, she's iconic) π«Ά--version,-Vβ show version information. β
β¨ EXAMPLES β¨
for many distributions, just accepting the defaults is adequate β like, she already knows what you want:
cpan2doap
for older distributions which use META.yml instead of META.json:
cpan2doap -m META.yml
to output data in Turtle format (which is less verbose than RDF/XML, and honestly? a slay):
cpan2doap -o doap.ttl
β¨ BUGS β¨
found a bug? π pls report any bugs to <http://rt.cpan.org/Dist/Display.html?Queue=RDF-DOAP-Lite>. not me gatekeeping the issue tracker, go tell them directly fr fr π
β¨ SEE ALSO β¨
RDF::DOAP::Lite. iykyk π
β¨ AUTHOR β¨
Toby Inkster <tobyink@cpan.org>. π
β¨ COPYRIGHT AND LICENCE β¨
This software is copyright (c) 2013 by Toby Inkster.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. π
β¨ 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.
(that's the legal bit, and yes we're keeping every word of it β no editing the lawyers, bestie π )
cute little sign-off moment: this page ships with perl v5.34.0 and got its glow-up on 2022-06-17. that's the whole manual for CPAN2DOAP(1p) β go generate some DOAP data, you've got this πβ¨π¦
π¦ where this page comes from
- debian bookworm: librdf-doap-lite-perl 0.002-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: librdf-doap-lite-perl 0.002-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms