The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

KiokuDB::Cmd::WithDSN::Create - Write or create access to a DSN for command line tools

SYNOPSIS

package KiokuDB::Cmd::Command::Blort;
use Moose;

extends qw(KiokuDB::Cmd::Base);

with qw(KiokuDB::Cmd::WithDSN::Create);

augment run => sub {
    my $self = shift;

    $self->backend;
};

ATTRIBUTES

dsn

Command line attr for the DSN to connect to.

create

A boolean determining whether the create flag is passed to connect. Defaults to true but can be disabled (--nocreate).

clear

Command line attr determining whether or not clear will be called on the backend. Defaults to false.

backend

Non command line attr, contains the composed backend.