App-Cmd

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

      },
      "test" : {
         "recommends" : {
            "CPAN::Meta" : "2.120900"
         },
         "requires" : {
            "Data::Dumper" : "0",
            "ExtUtils::MakeMaker" : "0",
            "File::Spec" : "0",
            "IPC::Cmd" : "0",
            "Test::Fatal" : "0",
            "Test::More" : "0.96",
            "lib" : "0"
         }
      }
   },
   "release_status" : "stable",
   "resources" : {
      "bugtracker" : {
         "web" : "https://github.com/rjbs/App-Cmd/issues"
      },

META.yml  view on Meta::CPAN

---
abstract: 'write command line apps with less suffering'
author:
  - 'Ricardo Signes <cpan@semiotic.systems>'
build_requires:
  Data::Dumper: '0'
  ExtUtils::MakeMaker: '0'
  File::Spec: '0'
  IPC::Cmd: '0'
  Test::Fatal: '0'
  Test::More: '0.96'
  lib: '0'
configure_requires:
  ExtUtils::MakeMaker: '6.78'
dynamic_config: 0
generated_by: 'Dist::Zilla version 6.037, CPAN::Meta::Converter version 2.150013'
license: perl
meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: '1.4'

Makefile.PL  view on Meta::CPAN

    "experimental" => 0,
    "parent" => 0,
    "strict" => 0,
    "warnings" => 0
  },
  "TEST_REQUIRES" => {
    "Data::Dumper" => 0,
    "ExtUtils::MakeMaker" => 0,
    "File::Spec" => 0,
    "IPC::Cmd" => 0,
    "Test::Fatal" => 0,
    "Test::More" => "0.96",
    "lib" => 0
  },
  "VERSION" => "0.340",
  "test" => {
    "TESTS" => "t/*.t"
  }
);


Makefile.PL  view on Meta::CPAN

  "Getopt::Long" => "2.39",
  "Getopt::Long::Descriptive" => "0.117",
  "IO::TieCombine" => 0,
  "IPC::Cmd" => 0,
  "Module::Pluggable::Object" => 0,
  "Pod::Usage" => "1.61",
  "String::RewritePrefix" => 0,
  "Sub::Exporter" => 0,
  "Sub::Exporter::Util" => 0,
  "Sub::Install" => 0,
  "Test::Fatal" => 0,
  "Test::More" => "0.96",
  "Text::Abbrev" => 0,
  "constant" => 0,
  "experimental" => 0,
  "lib" => 0,
  "parent" => 0,
  "strict" => 0,
  "warnings" => 0
);

t/00-report-prereqs.dd  view on Meta::CPAN

                    },
       'test' => {
                   'recommends' => {
                                     'CPAN::Meta' => '2.120900'
                                   },
                   'requires' => {
                                   'Data::Dumper' => '0',
                                   'ExtUtils::MakeMaker' => '0',
                                   'File::Spec' => '0',
                                   'IPC::Cmd' => '0',
                                   'Test::Fatal' => '0',
                                   'Test::More' => '0.96',
                                   'lib' => '0'
                                 }
                 }
     };
  $x;
 }

t/setup-broken.t  view on Meta::CPAN

use strict;
use warnings;

use Test::More 0.88;
use Test::Fatal;

use lib 't/lib';

ok( !exists $INC{'Test/BrokenCmd/Command.pm'},           'Broken library not tried to load yet' );
ok( !exists $INC{'Test/BrokenCmd/Command::Notthere.pm'}, 'Missing library not tried to load yet' );

isnt(
  exception {
    require Test::BrokenCmd;
  },

t/setup-ignored.t  view on Meta::CPAN

use strict;
use warnings;

use Test::More 0.88;
use Test::Fatal;

use lib 't/lib';

is(
  exception {
    require Test::IgnoreCommand;
  },
  undef,
  'Ignored Commands shouldn\'t be fatal'
);

t/subdispatch.t  view on Meta::CPAN

#!/usr/bin/perl

use strict;
use warnings;

use Test::More 'no_plan';

use Test::Fatal;

use lib 't/lib';

BEGIN { use_ok('Test::MyCmd2') };

my $app = Test::MyCmd2->new({});

my ( $cmd, $opt, @args ) = $app->prepare_command(qw/--verbose foo --moose bar --foo/);

is_deeply( $app->global_options, { verbose => 1 }, "global opts" );



( run in 1.983 second using v1.01-cache-2.11-cpan-54e63673c56 )