DIR2MODULE(1)
π DIR2MODULE(1) β the Generated Python Manual era π
okay bestie, sit down, hydrate, because we're about to make module metadata and it's gonna be so cute. this is the manual for dir2module, straight out of the Generated Python Manual collection. no cap.
β¨ NAME β¨
dir2module β that's her. that's the girl. π
πΈ SYNOPSIS πΈ
dir2module [-h] -m SUMMARY [-d DESCRIPTION] [-l LICENSE] [-r REQUIRES]
[--force] [--stdout] (--dir DIR | --pkglist PKGLIST) nsvca
π¦ DESCRIPTION π¦
okay so here's the vibe. dir2module is gonna recursively read RPMs from DIR or read them from the pkglist you specified. and like, if any RPM is missing or unreadable? it does not play. it errors out. periodt. π€
then it does its lil magic:
- Populates
artifacts/rpmswith RPM NEVRAs β¨ - Populates
license/contentwith the list of RPM licenses π - Writes
N:S:V:C:A.modulemd.yamlin the current directory π - Makes sure that yaml is in modulemd v2 format β she's not sloppy, bestie
π§ the positional argument π§
nsvcaβ Module name, stream version, context and architecture, all in aN:S:V:C:Aformat. it's giving full government name energy, but for a module. slay.
π OPTIONS π
-m SUMMARY,--summary SUMMARYβ the Module summary. short, sweet, iconic. π«-d DESCRIPTION,--description DESCRIPTIONβ the Module description. go off, write a whole paragraph, she supports you. π-l LICENSE,--license LICENSEβ the Module license. legally iconic. π-r REQUIRES,--requires REQUIRESβ Module runtime dependencies in aN:Sformat. got more than one dependency? repeat this option, bestie, she'll take them all. π«Ά--forceβ Suppress all constraints and hope for the best. π that's literally the whole description. she's manifesting. no notes.--stdoutβ By defult the output is saved in a file. Use this to suppress it and print to theSTDOUT. (yes the typo is canon, we don't fix canon in this house π)--dir DIRβ one half of the either/or situation, iykyk π--pkglist PKGLISTβ the other half. pick one, she said either, not both. π
also -h is chilling in the synopsis doing help-things, we love a supportive flag. β¨
π AUTHOR π
Jakub KadlΔΓk jkadlcik@redhat.com
give her her flowers. π
π DISTRIBUTION π
The latest version of dir2module may be downloaded from HOMEPAGE. go get the freshest one, don't be out here running stale code. π
and that's the whole page, bestie!! this was dir2module from the Generated Python Manual, version dated 2025-09-19, and you made it all the way to DIR2MODULE(1) at the bottom. so proud of you, now go read your RPMs π§β¨π
π¦ where this page comes from
- epel 10: modulemd-tools 0.16-13.el10_2 Β· MIT
- fedora 43: modulemd-tools 0.16-13.fc43 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms