App-af

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "Capture::Tiny" : "0",
            "File::Copy::Recursive" : "0",
            "File::chdir" : "0",
            "Moose" : "0",
            "MooseX::Types::Path::Tiny" : "0",
            "Path::Tiny" : "0",
            "Shell::Perl" : "0.003",
            "Test2::Mock" : "0.000121",
            "Text::Table" : "0",
            "YAML" : "0",
            "namespace::autoclean" : "0",
            "perl" : "5.014"
         }
      },
      "test" : {
         "requires" : {
            "Test2::Tools::Basic" : "0.000121",
            "Test2::V0" : "0.000121",
            "Test::Script" : "0",
            "perl" : "5.014"
         }

META.yml  view on Meta::CPAN

  Capture::Tiny: '0'
  File::Copy::Recursive: '0'
  File::chdir: '0'
  Moose: '0'
  MooseX::Types::Path::Tiny: '0'
  Path::Tiny: '0'
  Shell::Perl: '0.003'
  Test2::Mock: '0.000121'
  Text::Table: '0'
  YAML: '0'
  namespace::autoclean: '0'
  perl: '5.014'
resources:
  IRC: irc://irc.perl.org/#native
  bugtracker: https://github.com/PerlAlien/App-af/issues
  homepage: https://metacpan.org/pod/App::af
  repository: git://github.com/PerlAlien/App-af.git
version: '0.18'
x_contributors:
  - 'Graham Ollis <plicease@cpan.org>'
  - 'Diab Jerius (DJERIUS)'

Makefile.PL  view on Meta::CPAN

    "Capture::Tiny"             => 0,
    "File::Copy::Recursive"     => 0,
    "File::chdir"               => 0,
    "Moose"                     => 0,
    "MooseX::Types::Path::Tiny" => 0,
    "Path::Tiny"                => 0,
    "Shell::Perl"               => "0.003",
    "Test2::Mock"               => "0.000121",
    "Text::Table"               => 0,
    "YAML"                      => 0,
    "namespace::autoclean"      => 0
  },
  "TEST_REQUIRES" => {
    "Test2::Tools::Basic" => "0.000121",
    "Test2::V0"           => "0.000121",
    "Test::Script"        => 0
  },
  "VERSION" => "0.18",
  "test"    => {
    "TESTS" => "t/*.t"
  }

Makefile.PL  view on Meta::CPAN

  "Moose"                     => 0,
  "MooseX::Types::Path::Tiny" => 0,
  "Path::Tiny"                => 0,
  "Shell::Perl"               => "0.003",
  "Test2::Mock"               => "0.000121",
  "Test2::Tools::Basic"       => "0.000121",
  "Test2::V0"                 => "0.000121",
  "Test::Script"              => 0,
  "Text::Table"               => 0,
  "YAML"                      => 0,
  "namespace::autoclean"      => 0
);

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

delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
  unless eval { ExtUtils::MakeMaker->VERSION(6.52) };

bin/af  view on Meta::CPAN

use App::af;
use File::chdir;

# PODNAME: af
# ABSTRACT: Command line tool for alienfile
# VERSION


package App::af::download 0.18 {
  use Moose;
  use namespace::autoclean;
  use MooseX::Types::Path::Tiny qw( AbsPath );
  use Path::Tiny qw( path );

  with 'App::af';
  with 'App::af::role::alienfile';


  has local => (
    is       => 'ro',
    isa      => AbsPath,

bin/af  view on Meta::CPAN

    }

    0;
  }

  __PACKAGE__->meta->make_immutable;
}

package App::af::probe 0.18 {
  use Moose;
  use namespace::autoclean;
  use MooseX::Types::Path::Tiny qw( AbsPath );
  use File::Temp qw( tempdir );

  with 'App::af';
  with 'App::af::role::alienfile';
  with 'App::af::role::libandblib';


  has root => (
    is       => 'ro',

bin/af  view on Meta::CPAN

    my $type = $build->install_type;

    say "install type: $type";

    0;
  }
}

package App::af::install 0.18 {
  use Moose;
  use namespace::autoclean;
  use File::Temp qw( tempdir );
  use MooseX::Types::Path::Tiny qw( AbsPath );
  use YAML qw( Dump );
  use Path::Tiny qw( path );

  with 'App::af';
  with 'App::af::role::alienfile';
  with 'App::af::role::libandblib';


bin/af  view on Meta::CPAN


    print Dump($build->runtime_prop);

    0;
  }
  __PACKAGE__->meta->make_immutable;
}

package App::af::requires 0.18 {
  use Moose;
  use namespace::autoclean;
  use YAML qw( Dump );


  with 'App::af';
  with 'App::af::role::alienfile';
  with 'App::af::role::phase';

  sub main
  {
    my($self) = @_;

bin/af  view on Meta::CPAN

    }

    0;
  }

  __PACKAGE__->meta->make_immutable;
}

package App::af::missing 0.18 {
  use Moose;
  use namespace::autoclean;
  use Capture::Tiny qw( capture );

  with 'App::af';
  with 'App::af::role::alienfile';
  with 'App::af::role::phase';


  has plugin => (
    is     => 'ro',
    isa    => 'Int',

bin/af  view on Meta::CPAN

    say $_ for sort keys %need;

    0;
  }

  __PACKAGE__->meta->make_immutable;
}

package App::af::prop 0.18 {
  use Moose;
  use namespace::autoclean;


  with 'App::af';

  has class => (
    is       => 'ro',
    isa      => 'Str',
    traits   => ['App::af::opt'],
    short    => 'c',
    opt_type => 's',

bin/af  view on Meta::CPAN

      print YAML::Dump($prop);
    }

    0;
  }
  __PACKAGE__->meta->make_immutable;
}

package App::af::list 0.18 {
  use Moose;
  use namespace::autoclean;
  use Path::Tiny qw( path );
  use Text::Table;


  with 'App::af';

  has long => (
    is       => 'ro',
    isa      => 'Int',
    traits   => ['App::af::opt'],

lib/App/af.pm  view on Meta::CPAN

use strict;
use warnings;
use 5.014;

package App::af 0.18 {

  use Moose::Role;
  use namespace::autoclean;
  use Getopt::Long qw( GetOptionsFromArray );
  use Pod::Usage   qw( pod2usage           );

  # ABSTRACT: Command line tool for alienfile


  has args => (
    is      => 'ro',
    isa     => 'ArrayRef[Str]',
    default => sub { [] }

lib/App/af.pm  view on Meta::CPAN

    say "  af --help for usage information";
    0;
  }

  __PACKAGE__->meta->make_immutable;
}

package App::af::role::alienfile 0.18 {

  use Moose::Role;
  use namespace::autoclean;
  use MooseX::Types::Path::Tiny qw( AbsPath );
  use Path::Tiny qw( path );
  use File::Temp qw( tempdir );

  has file => (
    is       => 'ro',
    isa      => AbsPath,
    traits   => ['App::af::opt'],
    short    => 'f',
    opt_type => 's',

lib/App/af.pm  view on Meta::CPAN

    my $build = Alien::Build->load("$alienfile", %args);

    wantarray ? ($build, $prefix) : $build;  ## no critic (Community::Wantarray)

  }
}

package App::af::role::phase 0.18 {

  use Moose::Role;
  use namespace::autoclean;

  has phase => (
    is       => 'ro',
    isa      => 'Str',
    default  => 'all',
    traits   => ['App::af::opt'],
    opt_type => 's',
    short    => 'p',
  );

lib/App/af.pm  view on Meta::CPAN

      say STDERR "unknown phase: @{[ $self->phase ]}";
      exit 2;
    }
  }

}

package App::af::role::libandblib 0.18 {

  use Moose::Role;
  use namespace::autoclean;
  use Path::Tiny qw( path );

  has I => (
    is       => 'ro',
    isa      => 'ArrayRef[Str]',
    traits   => ['App::af::opt'],
    opt_type => 's',
    is_array => 1,
  );

lib/App/af.pm  view on Meta::CPAN


    $orig->($self, @args);

  };

}

package App::af::opt 0.18 {

  use Moose::Role;
  use namespace::autoclean;

  has short => (
    is      => 'rw',
    isa     => 'Str',
    default => '',
  );

  has opt_type => (
    is      => 'rw',
    isa     => 'Str',

t/00_diag.t  view on Meta::CPAN

  Moose
  MooseX::Types::Path::Tiny
  Path::Tiny
  Shell::Perl
  Test2::Mock
  Test2::Tools::Basic
  Test2::V0
  Test::Script
  Text::Table
  YAML
  namespace::autoclean
);



my @modules = sort keys %modules;

sub spacer ()
{
  diag '';
  diag '';



( run in 0.324 second using v1.01-cache-2.11-cpan-a5abf4f5562 )