NAME App::MetaCPANUtils - CLI utilities related to MetaCPAN VERSION This document describes version 0.005 of App::MetaCPANUtils (from Perl distribution App-MetaCPANUtils), released on 2021-04-14. DESCRIPTION This distribution contains CLI utilities related to MetaCPAN: * list-metacpan-distributions * list-metacpan-releases * list-recent-metacpan-releases * open-metacpan-dist-page * open-metacpan-module-page FUNCTIONS list_metacpan_distributions Usage: list_metacpan_distributions(%args) -> [status, msg, payload, meta] This function is not exported. Arguments ('*' denotes required arguments): * author => *cpan::pause_id* * fields => *array[str]* (default: ["distribution"]) * sort => *str* (default: "distribution") Returns an enveloped result (an array). First element (status) is an integer containing HTTP status code (200 means OK, 4xx caller error, 5xx function error). Second element (msg) is a string containing error message, or 'OK' if status is 200. Third element (payload) is optional, the actual result. Fourth element (meta) is called result metadata and is optional, a hash that contains extra information. Return value: (any) list_metacpan_modules Usage: list_metacpan_modules(%args) -> [status, msg, payload, meta] This function is not exported. Arguments ('*' denotes required arguments): * author => *cpan::pause_id* * fields => *array[str]* (default: ["module","date","author","status","maturity","version","release","a bstract"]) * from_date => *date* * sort => *str* (default: "module") * status => *str* (default: "latest") * to_date => *date* Returns an enveloped result (an array). First element (status) is an integer containing HTTP status code (200 means OK, 4xx caller error, 5xx function error). Second element (msg) is a string containing error message, or 'OK' if status is 200. Third element (payload) is optional, the actual result. Fourth element (meta) is called result metadata and is optional, a hash that contains extra information. Return value: (any) list_metacpan_releases Usage: list_metacpan_releases(%args) -> [status, msg, payload, meta] This function is not exported. Arguments ('*' denotes required arguments): * author => *cpan::pause_id* * distribution => *cpan::distname* * fields => *array[str]* (default: ["release","date","author","status","maturity","version","first","di stribution","abstract"]) * first => *bool* * from_date => *date* * sort => *str* (default: "-date") * status => *str* * to_date => *date* Returns an enveloped result (an array). First element (status) is an integer containing HTTP status code (200 means OK, 4xx caller error, 5xx function error). Second element (msg) is a string containing error message, or 'OK' if status is 200. Third element (payload) is optional, the actual result. Fourth element (meta) is called result metadata and is optional, a hash that contains extra information. Return value: (any) list_recent_metacpan_releases Usage: list_recent_metacpan_releases(%args) -> [status, msg, payload, meta] This function is not exported. Arguments ('*' denotes required arguments): * fields => *array[str]* (default: ["release","date","author","status","maturity","version","first","di stribution","abstract"]) * n => *posint* Returns an enveloped result (an array). First element (status) is an integer containing HTTP status code (200 means OK, 4xx caller error, 5xx function error). Second element (msg) is a string containing error message, or 'OK' if status is 200. Third element (payload) is optional, the actual result. Fourth element (meta) is called result metadata and is optional, a hash that contains extra information. Return value: (any) open_metacpan_dist_page Usage: open_metacpan_dist_page(%args) -> [status, msg, payload, meta] This function is not exported. Arguments ('*' denotes required arguments): * dist* => *perl::distname* Returns an enveloped result (an array). First element (status) is an integer containing HTTP status code (200 means OK, 4xx caller error, 5xx function error). Second element (msg) is a string containing error message, or 'OK' if status is 200. Third element (payload) is optional, the actual result. Fourth element (meta) is called result metadata and is optional, a hash that contains extra information. Return value: (any) open_metacpan_module_page Usage: open_metacpan_module_page(%args) -> [status, msg, payload, meta] This function is not exported. Arguments ('*' denotes required arguments): * module* => *perl::modname* Returns an enveloped result (an array). First element (status) is an integer containing HTTP status code (200 means OK, 4xx caller error, 5xx function error). Second element (msg) is a string containing error message, or 'OK' if status is 200. Third element (payload) is optional, the actual result. Fourth element (meta) is called result metadata and is optional, a hash that contains extra information. Return value: (any) ENVIRONMENT METACPANUTILS_DUMP_API_RESULT If set to true, will log the API result at the "trace" level. HOMEPAGE Please visit the project's homepage at . SOURCE Source repository is at . BUGS Please report any bugs or feature requests on the bugtracker website When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature. SEE ALSO Other distributions providing CLIs for MetaCPAN: MetaCPAN::Clients, App::metacpansearch. MetaCPAN API Client: MetaCPAN::Client this-mod-on-metacpan, this-dist-on-metacpan from App::ThisDist::OnMetaCPAN. AUTHOR perlancar COPYRIGHT AND LICENSE This software is copyright (c) 2021, 2020 by perlancar@cpan.org. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.