Mojolicious-Plugin-Util-Endpoint
view release on metacpan or search on metacpan
lib/Mojolicious/Plugin/Util/Endpoint/endpoints.pm view on Meta::CPAN
perl app.pl endpoints
EOF
# Run endpoints
sub run {
my $self = shift;
# Options
local @ARGV = @_;
my $c = $self->app->build_controller;
$c->app($self->app);
# Get endpoints
my $endpoints = $c->get_endpoints;
# No endpoints
return unless $endpoints;
( run in 1.141 second using v1.01-cache-2.11-cpan-49f99fa48dc )