NAME

Taskwarrior::Kusarigama::Core - Set of core functions interacting with Taskwarrior

VERSION

version 0.1.0

DESCRIPTION

Role consumed by Taskwarrior::Kusarigama::Hook.

METHODS

The role provides the following methods:

api

version

args

command

rc

data

data_dir

plugins

Returns an arrayref of instances of the plugins defined under Taskwarrior's kusarigama.plugins configuration key.

export_tasks

my @tasks = $tw->export_tasks( @query );

Equivalent to

$ task export ...query...

Returns the list of the tasks.

import_task

$tw->import_task( \%task  )

Equivalent to

$ task import <json representation of %task>

calc

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

Equivalent to

$ task calc today + 3d

AUTHOR

Yanick Champoux <yanick@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by Yanick Champoux.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.