#!/usr/bin/perl
# PODNAME: git-annex-reviewunused
# ABSTRACT: interactively process 'git annex unused' output
#
# Copyright (C) 2019-2020  Sean Whitton <spwhitton@spwhitton.name>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or (at
# your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.


use App::git_annex_reviewunused;
exit App::git_annex_reviewunused->main;

__END__

=pod

=encoding UTF-8

=head1 NAME

git-annex-reviewunused - interactively process 'git annex unused' output

=head1 VERSION

version 0.008

=head1 SYNOPSIS

B<git annex reviewunused> [B<--just-print>] [B<--from=>I<REMOTE>] [B<--used-refspec=>I<USEDREFSPEC>]

=head1 DESCRIPTION

This program lets you interactively review unused files in a git annex
repository, choosing which you'd like to drop.  By running git-log(1),
it provides more information about unused files than does B<git annex
unused>.

=head1 OPTIONS

=over 4

=item B<--just-print>

Run non-interactively: gather and print information about unused
files, and then exit.

=item B<--from=>I<REMOTE>

Passed on to B<git annex unused>.

=item B<--used-refspec=>I<USEDREFSPEC>

Passed on to B<git annex unused>.

=back

=head1 EXIT STATUS

0 if there are no unused files left at time of program exit, 1 if there are.

=head1 SEE ALSO

git-annex-unused(1), git-annex-dropunused(1)

=head1 AUTHOR

Sean Whitton <spwhitton@spwhitton.name>

=head1 COPYRIGHT AND LICENSE

This software is Copyright (c) 2019-2021 by Sean Whitton <spwhitton@spwhitton.name>.

This is free software, licensed under:

  The GNU General Public License, Version 3, June 2007

=cut