App-SimplenoteSync

 view release on metacpan or  search on metacpan

Build.PL  view on Meta::CPAN

    "Log::Any::Adapter" => 0,
    "Log::Any::Adapter::Dispatch" => 0,
    "Log::Dispatch" => 0,
    "Log::Dispatch::File" => 0,
    "Log::Dispatch::Screen::Color" => 0,
    "Method::Signatures" => 0,
    "Moose" => 0,
    "MooseX::Types::Path::Class" => 0,
    "Pod::Usage" => 0,
    "Proc::InvokeEditor" => 0,
    "Try::Tiny" => 0,
    "WebService::Simplenote" => "v0.2.0",
    "WebService::Simplenote::Note" => 0,
    "namespace::autoclean" => 0,
    "open" => 0,
    "perl" => "v5.10.0",
    "strict" => 0,
    "warnings" => 0
  },
  "script_files" => [
    "bin/simplenotesync"

META.json  view on Meta::CPAN

            "Log::Any::Adapter" : "0",
            "Log::Any::Adapter::Dispatch" : "0",
            "Log::Dispatch" : "0",
            "Log::Dispatch::File" : "0",
            "Log::Dispatch::Screen::Color" : "0",
            "Method::Signatures" : "0",
            "Moose" : "0",
            "MooseX::Types::Path::Class" : "0",
            "Pod::Usage" : "0",
            "Proc::InvokeEditor" : "0",
            "Try::Tiny" : "0",
            "WebService::Simplenote" : "v0.2.0",
            "WebService::Simplenote::Note" : "0",
            "namespace::autoclean" : "0",
            "open" : "0",
            "perl" : "v5.10.0",
            "strict" : "0",
            "warnings" : "0"
         }
      },
      "test" : {

META.json  view on Meta::CPAN

         "Log::Dispatch::File" : "2.70",
         "Method::Signatures" : "20170211",
         "Module::Build" : "0.4231",
         "Moose" : "2.2013",
         "MooseX::Types::Path::Class" : "0.09",
         "Path::Class" : "0.37",
         "Pod::Usage" : "1.69",
         "Proc::InvokeEditor" : "1.13",
         "Test::More" : "1.302181",
         "Test::utf8" : "1.02",
         "Try::Tiny" : "0.30",
         "WebService::Simplenote" : "0.2.1",
         "WebService::Simplenote::Note" : "0.2.1",
         "namespace::autoclean" : "0.29",
         "open" : "1.12",
         "strict" : "1.11",
         "warnings" : "1.47"
      },
      "perl" : {
         "original" : "v5.32.0",
         "qv" : 1,

bin/simplenotesync  view on Meta::CPAN

use v5.10;
use strict;
use warnings;
use App::SimplenoteSync;
use File::BaseDir;
use Getopt::Long qw/:config no_ignore_case bundling/;
use Pod::Usage;
use Config::INI::Reader;
use Log::Dispatch;
use Log::Any::Adapter;
use Try::Tiny;

my $logger;

our $PROGNAME = 'simplenotesync';

my $opt = {action => 'sync'};

sub get_opts {
    my $getopt = GetOptions(
        $opt,                'help|h',

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

package App::SimplenoteSync;
$App::SimplenoteSync::VERSION = '0.2.1';
# ABSTRACT: Synchronise text notes with simplenoteapp.com

use v5.10;
use open qw(:std :utf8);
use Moose;
use MooseX::Types::Path::Class;
use Log::Any qw//;
use DateTime;
use Try::Tiny;
use File::ExtAttr ':all';
use Proc::InvokeEditor;
use App::SimplenoteSync::Note;
use WebService::Simplenote;
use Method::Signatures;
use namespace::autoclean;

has ['email', 'password'] => (
    is       => 'ro',
    isa      => 'Str',

lib/App/SimplenoteSync/Note.pm  view on Meta::CPAN

package App::SimplenoteSync::Note;
$App::SimplenoteSync::Note::VERSION = '0.2.1';
# ABSTRACT: stores notes in plain files,

use v5.10;
use Moose;
use MooseX::Types::Path::Class;
use Try::Tiny;
use namespace::autoclean;

extends 'WebService::Simplenote::Note';

use Method::Signatures;

has '+title' => (trigger => \&_title_to_filename,);

has file => (
    is        => 'rw',



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