App-JC-Client

 view release on metacpan or  search on metacpan

META.yml  view on Meta::CPAN

requires:
  Config::Any: '0'
  Data::Dumper: '0'
  IO::Interactive: '1.022'
  JIRA::Client::Automated: '0'
  Moose: '0'
  MooseX::App: '0'
  MooseX::App::Command: '0'
  String::Formatter: '0'
  Term::ANSIColor: '0'
  Try::Tiny: '0'
  YAML: '1.26'
  strict: '0'
  warnings: '0'
resources:
  bugtracker: https://trac.federationhq.de/JC/
  homepage: https://trac.federationhq.de/JC/
  repository: https://trac.federationhq.de/git/jc.git
version: '0.001'
x_generated_by_perl: v5.26.1
x_serialization_backend: 'YAML::Tiny version 1.73'

Makefile.PL  view on Meta::CPAN

  "PREREQ_PM" => {
    "Config::Any" => 0,
    "Data::Dumper" => 0,
    "IO::Interactive" => "1.022",
    "JIRA::Client::Automated" => 0,
    "Moose" => 0,
    "MooseX::App" => 0,
    "MooseX::App::Command" => 0,
    "String::Formatter" => 0,
    "Term::ANSIColor" => 0,
    "Try::Tiny" => 0,
    "YAML" => "1.26",
    "strict" => 0,
    "warnings" => 0
  },
  "VERSION" => "0.001",
  "test" => {
    "TESTS" => ""
  }
);

Makefile.PL  view on Meta::CPAN

my %FallbackPrereqs = (
  "Config::Any" => 0,
  "Data::Dumper" => 0,
  "IO::Interactive" => "1.022",
  "JIRA::Client::Automated" => 0,
  "Moose" => 0,
  "MooseX::App" => 0,
  "MooseX::App::Command" => 0,
  "String::Formatter" => 0,
  "Term::ANSIColor" => 0,
  "Try::Tiny" => 0,
  "YAML" => "1.26",
  "strict" => 0,
  "warnings" => 0
);


unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
  delete $WriteMakefileArgs{TEST_REQUIRES};
  delete $WriteMakefileArgs{BUILD_REQUIRES};
  $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;

bin/jc  view on Meta::CPAN

#!perl
# ABSTRACT: command line client for JIRA
# PODNAME: jc.pl
use strict;
use warnings;
use Try::Tiny;
use Config::Any;
use Data::Dumper;
use App::JC::Client;

my %options;
my $cfg=Config::Any->load_stems({stems=>[$ENV{HOME}."/.jc"],use_ext=>1});

for (@$cfg) {
               my ($filename, $config) = %$_;
               $options{url}=$config->{'url'} if defined($config->{'url'});

lib/App/JC/Client/addIssue.pm  view on Meta::CPAN

package App::JC::Client::addIssue;
#ABSTRACT: class implementing the add issue command of the jira client
use strict;
use warnings;
use MooseX::App::Command;
extends qw(App::JC::Client);

use Term::ANSIColor;
use Try::Tiny;
use JIRA::Client::Automated;


command_short_description 'create an issue within a project';
command_usage 'jc.pl add_issue <project> <type> <summary> <description>';


option 'project' => (
      is                => 'ro',
      isa               => 'Str',

lib/App/JC/Client/listIssues.pm  view on Meta::CPAN

package App::JC::Client::listIssues;
#ABSTRACT: class implementing the add issue command of the jira client
use strict;
use warnings;
use MooseX::App::Command;
extends qw(App::JC::Client);

use Term::ANSIColor;
use Try::Tiny;
use JIRA::Client::Automated;

# the version of the module
our $VERSION = '0.001';

use String::Formatter named_stringf => {
  codes => {
    s => sub { $_ },     # string itself
  },
};

lib/App/JC/Client/start.pm  view on Meta::CPAN

package App::JC::Client::start;
#ABSTRACT: class implementing starting of an issue
use strict;
use warnings;
use MooseX::App::Command;
extends qw(App::JC::Client);

use Term::ANSIColor;
use Try::Tiny;
use JIRA::Client::Automated;

# the version of the module
our $VERSION = '0.001';

command_short_description 'start an issue';
command_usage 'jc.pl start <issuekey>';


option 'issuekey' => (

lib/App/JC/Client/updateIssue.pm  view on Meta::CPAN

package App::JC::Client::updateIssue;
#ABSTRACT: class implementing starting of an issue
use strict;
use warnings;
use MooseX::App::Command;
extends qw(App::JC::Client);

use Term::ANSIColor;
use Try::Tiny;
use JIRA::Client::Automated;

# the version of the module
our $VERSION = '0.001';

command_short_description 'update an issue';
command_usage 'jc.pl update -i <issuekey> <options>';


option 'issuekey' => (



( run in 0.855 second using v1.01-cache-2.11-cpan-05444aca049 )