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 to META.json. 🌸
  • --changes-file=F, -c F β€” the input file name, and this one has to conform to CPAN::Changes::Spec. defaults to Changes. ✨
  • --output-file=F, -o F β€” the file name for output. defaults to doap.rdf. πŸ’–
  • --output-format=X β€” the output format, bestie. one of xml, ttl or auto. πŸ‘‘
  • --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>. πŸŽ€


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