Group
Extension

Matches 3

Taskwarrior-Hooks ( Y/YA/YANICK/Taskwarrior-Hooks-0.0.1.tar.gz, YANICK, 2017; MetaCPAN )
Taskwarrior-Hooks/misc/graph.pl ( view source; MetaCPAN )
;

use Graph::Directed;
use List::AllUtils qw/ uniq first_value /;

use JSON;

my %tasks = map { $_->{uuid} => $_ } @{ from_json `task +PENDING export` };

my $graph = Graph::Directed->new;

$graph->a
Taskwarrior-Hooks ( Y/YA/YANICK/Taskwarrior-Hooks-0.0.1.tar.gz, YANICK, 2017; MetaCPAN )
Taskwarrior-Hooks/lib/Taskwarrior/Kusarigama/Hook.pm ( view source; MetaCPAN )

use Path::Tiny;
use Hash::Merge qw/merge /;
use List::AllUtils qw/ reduce pairmap pairmap /;
use JSON;

use experimental 'postderef';

with 'Taskwarrior::Kusarigama::Core';


has raw_args => (
    is
hod = join '_', 'run', $event;

    my @plugins = $self->plugins->@*;

    my @tasks = map { from_json($_) } <STDIN>;

    try {
        $self->$method(\@plugins,@tasks);
    }
    catch {
        say
on_add($task) for grep { $_->DOES('Taskwarrior::Kusarigama::Hook::OnAdd') } @$plugins;
    say to_json($task);
    say for $self->feedback->@*;
}


# TODO document the $old, $new, $diff

sub run_modif
Taskwarrior-Hooks ( Y/YA/YANICK/Taskwarrior-Hooks-0.0.1.tar.gz, YANICK, 2017; MetaCPAN )
Taskwarrior-Hooks/lib/Taskwarrior/Kusarigama/Core.pm ( view source; MetaCPAN )
strict;
use warnings;

use Path::Tiny;

use Moo::Role;

use MooseX::MungeHas;

use IPC::Run3;
use JSON;
use Module::Runtime qw/ use_module /;
use List::AllUtils qw/ uniq /;

use experimental 'postdere
f export /, @query], undef, \my $out;

    return @{ from_json $out };
}


sub import_task {
    my( $self, $task ) = @_;

    my $in = to_json $task;

    run3 [qw/ task rc.recurrence=no import /], \
he tasks.

=head2 import_task

    $tw->import_task( \%task  )

Equivalent to

    $ task import <json representation of %task>

=head2 calc

    $result = $tw->calc( qw/ today + 3d / );

Equivalent t

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.