| 1 | package App::JC::Client; | ||
| 2 | #ABSTRACT: small JIRA command line client | ||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | use Moose; | ||
| 6 | use MooseX::App qw(Color BashCompletion); | ||
| 7 | |||
| 8 | # the version of the module | ||
| 9 | our $VERSION = '0.001'; | ||
| 10 | |||
| 11 | |||
| 12 | |||
| 13 | |||
| 14 | option 'url' => ( | ||
| 15 | is => 'rw', | ||
| 16 | isa=>"Str", | ||
| 17 | required=>1, | ||
| 18 | documentation=>"JIRA URL" | ||
| 19 | ); | ||
| 20 | |||
| 21 | option 'user' => ( | ||
| 22 | is => 'rw', | ||
| 23 | isa=>"Str", | ||
| 24 | required=>1, | ||
| 25 | documentation=>"JIRA User" | ||
| 26 | ); | ||
| 27 | |||
| 28 | option 'pass' => ( | ||
| 29 | is => 'rw', | ||
| 30 | isa=>"Str", | ||
| 31 | required=>1, | ||
| 32 | documentation=>"JIRA Password" | ||
| 33 | ); | ||
| 34 | |||
| 35 | |||
| 36 | option 'defaulttasktype' => ( | ||
| 37 | is => 'rw', | ||
| 38 | isa=>"Str", | ||
| 39 | required=>1, | ||
| 40 | documentation=>"default task type" | ||
| 41 | ); | ||
| 42 | |||
| 43 | |||
| 44 | 1; | ||
| 45 | |||
| 46 | __END__ |