#!/usr/bin/env perl

use strict;
use warnings;

# PODNAME: github-emptyrepository
# ABSTRACT: CLI for scanning an organization to detect empty repositories

use GitHub::EmptyRepository;

GitHub::EmptyRepository->new_with_options->print_report;

__END__
=pod

=head1 SYNOPSIS

    github-emptyrepository --org libwww-perl

=head1 ARGS

=head2 url

Expects an URL to a Github repository.  Multiple C<--url> args can be supplied.

    github-emptyrepository --url oalders/html-restrict --url https://github.com/neilbowers/PAUSE-Packages

An url can be a proper URL to a git repo or even as succinct as
'username/repository-name'.

    github-emptyrepository --url oalders/html-restrict

If you're really lazy, you can even paste in an entire url which contains the
repo in it.  Be creative!

    github-emptyrepository --url https://github.com/neilbowers/PAUSE-Packages/issues

=head2 org

Expects an Github organization.  Multiple C<--org> args can be supplied.

    github-emptyrepository --org libwww-perl

=head2 github_user

The username of your Github account.  You'll need this if you're hitting Github
API limits.  In most cases this won't be an issue.

=head2 github_token

An API token for your Github account.  You'll need this if you're hitting
Github API limits or want to access private repositories.  In most cases 
this won't be an issue.  See
L<https://help.github.com/articles/creating-an-access-token-for-command-line-use>
for more information.

=head2 cache_requests

Enable this if you're hitting API limits or need to speed up response time.

    github-emptyrepository --url https://github.com/oalders/html-restrict --cache_requests

=cut
