Taskwarrior::Kusarigama::Plugin::Command::Github - sync tickets of a Github project
version 0.9.0
# add the `github` command $ task-kusarigama add Command::Github # add our oauth creds # see https://github.com/settings/tokens $ task config github.oauth_token deadbeef # who is you? $ task config github.user yanick # sync the project, baby $ task github List-Lazy
Without any explicit configuration, the command will assume that the given project exists in your personal space. In other words, provided a github.user set to yanick, the command
github.user
yanick
$ task github List-Lazy
will fetch the tickets of https://github.com/yanick/List-Lazy.
https://github.com/yanick/List-Lazy
If you want to explicitly set the repository of a project, you can do so via project.PROJECT.github_repo. E.g.:
project.PROJECT.github_repo
$ task config project.List-Lazy.github_repo yenzie/LLazy
The filter for the tickets to sync also follow a (hopefully) DWIM heuristic. If the organization is github.user, then all open tickets are sync'ed. If the organization differ, the synced tickets defaults to be those assigned to github.user. In all cases, the filter can be set explicitly via project.PROJECT.filter, which takes a JSON structure.
project.PROJECT.filter
$ task config project.List-Lazy.filter '{"asignee":"yenzie"}'
Yanick Champoux <yanick@cpan.org>
This software is copyright (c) 2018, 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.
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.