App-OnePif

 view release on metacpan or  search on metacpan

script/1pif  view on Meta::CPAN

#!/usr/bin/env perl
use strict;
use warnings;
my $VERSION = '0.1.0';

use App::OnePif;
App::OnePif->run(@ARGV);
exit 0;

__END__

=pod

=encoding utf8

=head1 NAME

1pif - Read 1Password Interchange Format exports, interactively

=head1 VERSION

version 0.1.0

=begin html

<a href="https://travis-ci.org/polettix/App-OnePif">
<img alt="Build Status" src="https://travis-ci.org/polettix/App-OnePif.svg?branch=master">
</a>

<a href="https://www.perl.org/">
<img alt="Perl Version" src="https://img.shields.io/badge/perl-5.10+-brightgreen.svg">
</a>

<a href="https://badge.fury.io/pl/App-OnePif">
<img alt="Current CPAN version" src="https://badge.fury.io/pl/App-OnePif.svg">
</a>

<a href="http://cpants.cpanauthors.org/dist/App-OnePif">
<img alt="Kwalitee" src="http://cpants.cpanauthors.org/dist/App-OnePif.png">
</a>

<a href="http://www.cpantesters.org/distro/A/App-OnePif.html?distmat=1">
<img alt="CPAN Testers" src="https://img.shields.io/badge/cpan-testers-blue.svg">
</a>

<a href="http://matrix.cpantesters.org/?dist=App-OnePif">
<img alt="CPAN Testers Matrix" src="https://img.shields.io/badge/matrix-@testers-blue.svg">
</a>

=end html

=head1 EXAMPLE

Run within a 1Password Interchange Format export directory (I<caution>, it
is B<NOT> encrypted).

   shell$ 1pif
   1password> help
   Available commands:
   * quit (also: q, .q)
      exit the program immediately, exit code is 0
   * exit [code] (also: e)
      exit the program immediately, can accept optional exit code
   * file [filename] (also: f)
      set the filename to use for taking data (default: 'data1.pif')
   * types (also: ts)
      show available types and possible aliases
   * type [wanted] (also: t, use, u)
      get current default type or set it to wanted. It is possible to
      reset the default type by setting type "*" (no quotes)
   * list [type] (also: l)
      get a list for the current set type. By default no type is set
      and the list includes all elements, otherwise it is filtered
      by the wanted type.
      If type parameter is provided, work on specified type instead
      of default one.
   * print [ <id> ] (also: p)
      show record by provided id (look for ids with the list command).
      It is also possible to specify the type, in which case the id
      is interpreted in the context of the specific type.
   * search <query-string> (also: s)
      search for the query-string, literally. Looks for a substring in
      the YAML rendition of each record that is equal to the query-string,
      case-insensitively. If a type is set, the search is restricted to
      that type.

=head1 DESCRIPTION

This program allows you to look into a 1Password Interchange Format
directory exported (again, beware it is B<NOT> encrypted!). When you run
it inside a such directory, it will read the relevant C<data.1pif> file to
get the list of all records, and allow you to browse through it.

The only real command you have to know is C<help>, as it will provide you
all details on the available commands. See L</EXAMPLE> for an... example.

To get a list of records, use the C<list> command (abbreviate it to C<l>).

   1password> list



( run in 2.173 seconds using v1.01-cache-2.11-cpan-df04353d9ac )