Taskwarrior::Kusarigama::Plugin - Base class for Kusarigama plugins
version 0.3.0
package Taskwarrior::Kusarigama::Plugin::Foo; use Moo; extends 'Taskwarrior::Kusarigama::Plugin'; with 'Taskwarrior::Kusarigama::Hook::OnLaunch'; sub on_launch { ... }' 1;
Base class for all Taskwarrior::Kusarigama plugins.
my $plugin = Taskwarrior::Kusarigama::Plugin->new( tw => $tw, );
Constructor. Supports the following arguments.
Associated Taskwarrior::Kusarigama::Hook object. Required.
Plugin name. If not provided, it is derived from the package name.
Returns the associated Taskwarrior::Kusarigama::Hook object.
All the Taskwarrior::Kusarigama::Core methods are made available to the plugin object via this attribute.
Returns the plugin name.
Method used by task-kusarigama to set up the plugin. If the plugin defines any UDAs, they will be created. Likewise, if the plugin is a custom command, a dummy report will be created in the taskwarrior configuration to allow it to be used.
task-kusarigama
Yanick Champoux <yanick@cpan.org>
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.
To install Taskwarrior::Kusarigama, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Taskwarrior::Kusarigama
CPAN shell
perl -MCPAN -e shell install Taskwarrior::Kusarigama
For more information on module installation, please visit the detailed CPAN module installation guide.