NAME

Taskwarrior::Kusarigama::Plugin::Command::Github - sync tickets of a Github project

VERSION

version 0.12.0

SYNOPSIS

# 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

DESCRIPTION

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

$ task github List-Lazy

will fetch the tickets of 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.:

$ 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.

$ task config project.List-Lazy.filter '{"assignee":"yenzie"}'

AUTHOR

Yanick Champoux <yanick@cpan.org>

COPYRIGHT AND LICENSE

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