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.