on info about opmbuild commands
use Carp qw(croak);
use OPM::Maker -command;
use HTTP::Tiny;
use JSON::PP;
sub abstract {
return "show version info about opmbuild commands";
}
sub opt_spec {
my $json = _json( $module, $module->VERSION() );
my $response = $ua->post(
'https://fastapi.metacpan.org/v1/file/_search', {
content => $json,
rom_json( $response->{content} );
next CMD if !$dist;
print sprintf " dist: %s\n dist-version: %s\n", $dist, $version;
}
}
}
sub _from_json {
my ($json) =