Trello

POD

NAME

App::Tasks::Config::Trello - Trello Configuration for App::Tasks

SYNOPSIS

my $trello = App::Tasks::Config::Trello.new() $trello.process-config(%config) say "API Key: " ~ $trello.api-key;

DESCRIPTION

This handles the Trello API configuration for App::Tasks. Note that this module is intended to be instantiated only via App::Tasks::Config.

FILE FORMAT

trello: api-key: "0123456789abcdef" token: "fedcba9876543210" tasks: board1: list1: "tag1"

This module will parse the trello section of the configuration YAML file.

The api-key and token are self-explanatory, while the boards section contains a hash of boards, which contain a hash of lists to consider as tasks. Each list has a tag that can be associated with it.

CLASS METHODS

process-config

my $trello = App::Tasks::Config::Trello.new(); $trello>process-config(%config);

This method takes a hash which represents the parsed YAML configuration file. It will process the trello section of that configuration file.

ATTRIBUTES

api-key

The value, if set, of the API key used to connect to Trello.

token

The value, if set, of the token used to connect to Trello.

tasks

A hash of hashes, indicating boards with lists that have tasks. The top hash contains the boards, with the next level being the lists that are interesting in those boards. The final level is the tag to assign to tasks from that board.

base-url

The Trello base URL (normally "https://trello.com/"). This is primarily used for testing.

AUTHOR

Joelle Maslak <[email protected]>

LEGAL

Licensed under the same terms as Perl 6.

Copyright Β© 2018-2023 by Joelle Maslak

App::Tasks v0.4.0

Task Management CLI Appliication

Authors

  • Joelle Maslak

License

Artistic-2.0

Dependencies

CroCro::HTTP::ClientDigest::SHA1::NativeFile::TempHash::MergeNativeCallP5getpriorityP5localtimeTerm::termiosTerminal::ANSIColorTerminal::ReadKeyURI::EncodeYAMLish

Test Dependencies

Provides

  • App::Tasks
  • App::Tasks::Config
  • App::Tasks::Config::Monitor
  • App::Tasks::Config::Trello
  • App::Tasks::Lock
  • App::Tasks::Task
  • App::Tasks::TaskBody
  • App::Tasks::TaskList
  • App::Tasks::Trello

The Camelia image is copyright 2009 by Larry Wall. "Raku" is a trademark of the Yet Another Society. All rights reserved.

Built with Podlite β€” the markup and publishing tools behind this site.