App-Sqitch
view release on metacpan or search on metacpan
lib/App/Sqitch/Command.pm view on Meta::CPAN
package App::Sqitch::Command;
use 5.010;
use strict;
use warnings;
use utf8;
use Try::Tiny;
use Locale::TextDomain qw(App-Sqitch);
use App::Sqitch::X qw(hurl);
use Hash::Merge 'merge';
use File::Path qw(make_path);
use Moo;
use App::Sqitch::Types qw(Sqitch Target);
our $VERSION = 'v1.6.1'; # VERSION
use constant ENGINES => qw(
pg
sqlite
mysql
oracle
firebird
vertica
exasol
snowflake
cockroach
clickhouse
);
has sqitch => (
is => 'ro',
isa => Sqitch,
required => 1,
handles => [qw(
run
shell
quote_shell
capture
probe
verbosity
trace
trace_literal
debug
debug_literal
info
info_literal
comment
comment_literal
emit
emit_literal
vent
vent_literal
warn
warn_literal
page
page_literal
prompt
ask_y_n
)],
);
has default_target => (
is => 'ro',
isa => Target,
lazy => 1,
default => sub {
my $self = shift;
( run in 3.045 seconds using v1.01-cache-2.11-cpan-5a3173703d6 )