The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Taskwarrior::Kusarigama::Hook::OnExit - Role for plugins running during the exit stage

VERSION

version 0.5.0

SYNOPSIS

    package Taskwarrior::Kusarigama::Plugin::Foo;

    use Moo;

    extends 'Taskwarrior::Kusarigama::Hook';

    with 'Taskwarrior::Kusarigama::Hook::OnExit';

    sub on_exit {
        say "exiting taskwarrior";
    }

    1;

DESCRIPTION

Role consumed by plugins running during the exit stage of the Taskwarrior hook lifecycle.

Requires that a on_exit is implemented.

The on_exit method, when invoked, will be given the list of tasks associated with the command.

    sub on_exit {
        my( $self, @tasks ) = @_;

        ...
    }

AUTHOR

Yanick Champoux <yanick@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 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.