Skip to content
Snippets Groups Projects
Select Git revision
  • 73beadaa928e40987f5ab2518665ff3d832a69d3
  • master default protected
2 results

CLI.pm

Blame
  • CLI.pm 10.64 KiB
    
    =pod
    
    =head1 NAME
    
      Redmine::CLI
    
    =head1 DESCRIPTION
    
      experimental stuff for something like a Redmine command line interface
    
    =cut
    
    package Redmine::CLI;
    
    use strict;
    
    use Data::Dumper;
    use Pod::Simple::Text;
    use FileHandle;
    
    autoflush STDOUT 1;
    
    use Util::JSON;
    use Util::Simple_CSV;
    use Util::Matrix;
    
    use Redmine::Wrapper;
    
    =head1 HELP TOPICS
    
    =cut
    
    my %HELP=
    (
      'topics' => <<EOPOD,
    =head2 TOPICS
    
    The following help topics are available
    
    =over 1
    
    =item overview
    
    =item environment
    
    =back
    
    =cut
    EOPOD
      'overview' => <<EOPOD,
    =head2 Overview
    
      help [topic] (this overview)
      list
      show ticket
    =cut
    EOPOD
    
      'env' => <<EOPOD,
    =head2 Enivironment
    
    =head3 default attributes
    
      project_name
      ticket_number
      out_csv
    
    =cut
    EOPOD