#!/usr/bin/perl

use strict;
use warnings;
use Passwd::Keyring::Auto::App;

die "passwd_keyring script is not yet implemented. But stay tuned\n";

Passwd::Keyring::Auto::App->run;

__END__

=head1 NAME

passwd_keyring - configure Passwd::Keyring::Auto and manage passwords created or used by this library

=head1 SYNOPSIS

General syntax:

   passwd_keyring <command> [options]

Commands:

   create-config         Create initial version of the config file.
   show-config           Show current configuration.

   set-password          Create or change some password.
   clear-password        Remove some password.

   help                  Show help

Run `passwd_keyring help <command>` for detailed description
of given command.

=head1 EXAMPLES

   passwd_keyring set-password --group=Scrappers somesite.com

   passwd_keyring set-password --app=IntegrationTests --group=Testing admin@production-db

   passwd_keyring clear-password --app=Demo --group=Helpers 
                         Removes given password.



   passwd_keyring dump-config

   passwd_keyring set-password --group=PwdGroup blahblah.com

   passwd_keyring set-password --group=PwdGroup --backend=Gnome  blahblah.com

   passwd_keyring clear-password --group=PwdGroup blahblah.com

(also C<--config=/some/path/to.cfg> to create or use non-standard config file).

=head1 DESCRIPTION

Helper tool for L<Passwd::Keyring::Auto>, making it easier for the user to configure
his or her preferences and to manage saved passwords.

=head1 COMMANDS

=head2 create-config

Creates initial version of the configuration file (mostly commented
out examples).

=head2 set-password

Sets (or changes) password for given site in given password group.

If backend parameter is given, uses this very backend, otherwise picks
one just like L<Passwd::Keyring::Auto> does.

=head2 clear-password

Removes password for given site in given password group.

If backend parameter is given, uses this very backend, otherwise picks one just like
L<Passwd::Keyring::Auto> does.

=cut

