App-locket

 view release on metacpan or  search on metacpan

META.yml  view on Meta::CPAN

  Digest::SHA: 0
  File::HomeDir: 0
  Getopt::Usaginator: 0
  Hash::Dispatch: 0
  JSON: 0
  MIME::Base64: 0
  Path::Class: 0
  String::Util: 0
  Term::EditorEdit: 0
  Term::ReadKey: 0
  Try::Tiny: 0
  YAML::XS: 0
version: 0.0022

Makefile.PL  view on Meta::CPAN

    'Digest::SHA' => '0',
    'File::HomeDir' => '0',
    'Getopt::Usaginator' => '0',
    'Hash::Dispatch' => '0',
    'JSON' => '0',
    'MIME::Base64' => '0',
    'Path::Class' => '0',
    'String::Util' => '0',
    'Term::EditorEdit' => '0',
    'Term::ReadKey' => '0',
    'Try::Tiny' => '0',
    'YAML::XS' => '0'
  },
  'VERSION' => '0.0022',
  'test' => {
    'TESTS' => 't/*.t'
  }
);


unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) {

lib/App/locket.pm  view on Meta::CPAN

use Term::ReadKey;
END {
    ReadMode 0;
}
use File::HomeDir;
use Path::Class;
use JSON; my $JSON = JSON->new->pretty;
use YAML::XS();
use File::Temp;
use Term::EditorEdit;
use Try::Tiny;
use String::Util qw/ trim /;
my $usage;
BEGIN {
$usage = <<_END_;

    Usage: locket [options] setup|edit|<query>

        --copy              Copy value to clipboard using pbcopy, xsel, or xclip

        --delay <delay>     Keep value in clipboard for <delay> seconds

lib/App/locket/Locket.pm  view on Meta::CPAN

use Crypt::Rijndael;
use Crypt::Random qw/ makerandom_octet /;
use Digest::SHA qw/ sha256 sha256_hex /;
use MIME::Base64;
use JSON; my $JSON = JSON->new->pretty;
use File::HomeDir;
use Path::Class;
use Term::ReadKey;
use YAML::XS();
use File::Temp;
use Try::Tiny;
use String::Util qw/ trim /;

use App::locket::Store;
 
use App::locket::Moose;

has_file cfg_file => qw/ is ro required 1 /;

sub open {
    my $self = shift;



( run in 0.274 second using v1.01-cache-2.11-cpan-05444aca049 )