The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

KiokuDB::Cmd::SpecifiedEntries - A role for command line tools which accept entry IDs as options

SYNOPSIS

    with qw(KiokuDB::Cmd::SpecifiedEntries)

    augment run => sub {
        ...

        my $data_bulk_stream = $self->entries;
    };

DESCRIPTION

This role provides KiokuDB::Entry enumeration for command line tools.

If the ids option is specified (it can be given multiple times) then only those IDs will be loaded into the entries attribute, otherwise all_entries is called on the backend.