cpm
cpm copied to clipboard
Feature Request: Remote cpanfile
Would be cool to support URLS in the --cpanfile option, e.g.
cpm install --cpanfile https://fastapi.metacpan.org/source/MIYAGAWA/Plack-1.0048/cpanfile
Would be especially useful for CI/CD pipelines.
You can try
❯ cpm install --cpanfile <(curl -fsSL https://fastapi.metacpan.org/source/MIYAGAWA/Plack-1.0048/cpanfile)
Yeah, that's what I'm doing; just would be nice not to have to use another utility (I have GH Actions that run on Windows), since cpm has access to all the code it needs to download files, if it recognized a URL. No biggie, just potentially a nice bit of sugar.