App-TimeTracker-Command-TellSlack

 view release on metacpan or  search on metacpan

lib/App/TimeTracker/Command/TellSlack.pm  view on Meta::CPAN

# ABSTRACT: App::TimeTracker plugin for posting to slack.com

our $VERSION = '1.001';

use Moose::Role;
use LWP::UserAgent;
use Digest::SHA qw(sha1_hex);
use URI::Escape;
use App::TimeTracker::Utils qw(error_message);
use Encode;
use JSON::XS qw(encode_json);

has 'tell_slack' => (
    is            => 'ro',
    isa           => 'Bool',
    default       => 1,
    documentation => 'Post to slack',
    traits        => ['Getopt'],
);

after [ 'cmd_start', 'cmd_continue' ] => sub {



( run in 0.509 second using v1.01-cache-2.11-cpan-fd5d4e115d8 )