App-RepoSync

 view release on metacpan or  search on metacpan

META.yml  view on Meta::CPAN

  directory:
    - inc
    - t
    - xt
requires:
  CLI::Framework: 0
  Cwd: 0
  File::Basename: 0
  File::Spec: 0
  JSON: 0
  Try::Tiny: 0
  YAML: 0
resources:
  license: http://dev.perl.org/licenses/
version: 0.03

Makefile.PL  view on Meta::CPAN

use inc::Module::Install;
name 'App-RepoSync';
all_from 'lib/App/RepoSync.pm';

requires map { $_ => 0 } qw(CLI::Framework File::Basename File::Spec YAML JSON Cwd Try::Tiny);
tests 't/*.t';
install_script 'scripts/repo';
readme_markdown_from_pod 'lib/App/RepoSync.pm';
# author_tests 'xt';
# test_requires 'Test::More';
# auto_set_repository;
auto_include;
WriteAll;

lib/App/RepoSync/Command/Import.pm  view on Meta::CPAN

package App::RepoSync::Command::Import;
use 5.10.0;
use warnings;
use strict;
use base qw( CLI::Framework::Command );
use File::Path qw(mkpath);
use Try::Tiny;
use Cwd;
use YAML;
use App::RepoSync::Export;
use App::RepoSync::SystemUtil qw(system_or_die chdir_qx);
use Term::ANSIColor;

sub option_spec {
    [ 'help|h'      => 'show help' ],
    [ 'verbose|v'   => 'be verbose' ],
    # [ 'db=s'        => 'path to SQLite database file' ],



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