App-Sqitch
view release on metacpan or search on metacpan
lib/App/Sqitch/Command/deploy.pm view on Meta::CPAN
package App::Sqitch::Command::deploy;
use 5.010;
use strict;
use warnings;
use utf8;
use Moo;
use App::Sqitch::Types qw(Int URI Str Bool HashRef);
use Locale::TextDomain qw(App-Sqitch);
use Type::Utils qw(enum);
use App::Sqitch::X qw(hurl);
use List::Util qw(first);
use namespace::autoclean;
extends 'App::Sqitch::Command';
with 'App::Sqitch::Role::ContextCommand';
with 'App::Sqitch::Role::ConnectingCommand';
our $VERSION = 'v1.6.1'; # VERSION
has target => (
is => 'ro',
isa => Str,
);
has to_change => (
is => 'ro',
isa => Str,
);
has mode => (
is => 'ro',
isa => enum([qw(
change
tag
all
)]),
default => 'all',
);
has log_only => (
is => 'ro',
isa => Bool,
default => 0,
);
has lock_timeout => (
is => 'ro',
isa => Int,
lazy => 1,
default => sub { App::Sqitch::Engine::default_lock_timeout() },
);
has verify => (
is => 'ro',
isa => Bool,
default => 0,
);
has variables => (
is => 'ro',
isa => HashRef,
lazy => 1,
default => sub { {} },
);
sub options {
return qw(
target|t=s
to-change|to|change=s
mode=s
set|s=s%
log-only
( run in 1.373 second using v1.01-cache-2.11-cpan-99c4e6809bf )