in reply to Listing scripts in distribution metadata

I've been using an x_provides_scripts hash in META.json, modelled after the standard provides hash. So say your distribution provides a "csv2json" script, your META.json would contain:

"x_provides_scripts": { "csv2json": { "version": "0.1", "file": "bin/csv2json" } }

Replies are listed 'Best First'.
Re^2: Listing scripts in distribution metadata
by perlancar (Hermit) on Oct 28, 2020 at 22:58 UTC
    Perfect. I'll be adding a support for x_provides_scripts in App::lcpan. I've also started to document the list of custom keys like this in CPAN::Meta::X.