NAME
purl-tool - PackageURL tool
SYNOPSIS
purl-tool [OPTIONS]...STRING
purl-tool [--help|--man|--version]
Options:
--help Brief help message
--man Full documentation
--version Print version
--download-url Download URL
--repository-url Repository URL
-0, --null Return NULL char instead of new line
--format=FORMAT Output format
--dumper Data::Dumper format (--format=dumper)
--json JSON output format (--format=json)
--yaml YAML output format (--format=yaml)
--env ENV output format (--format=env)
Examples:
purl-tool pkg:cpan/GDT/URI-PackageURL@2.03 --json | jq
wget $(purl-tool pkg:cpan/GDT/URI-PackageURL@2.03 --download-url)
DESCRIPTION
purl-tool
PackageURL tool
EXAMPLES
Parse the given PackageURL string and return JSON and send the STDOUT to jq:
purl-tool pkg:cpan/GDT/URI-PackageURL@2.03 --json | jq
Download the package from the repository using PackageURL string:
wget $(purl-tool pkg:cpan/GDT/URI-PackageURL@2.02 --download-url)
AUTHOR
COPYRIGHT AND LICENSE
Copyright © 2022-2023 Giuseppe Di Terlizzi
You may use and distribute this module according to the same terms that Perl is distributed under.