יובל קוג'מן (Yuval Kogman) > KiokuDB-Cmd > KiokuDB::Cmd::Command::Edit

Download:
KiokuDB-Cmd-0.03.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Source  

NAME ^

KiokuDB::Cmd::Command::Edit - Edit entries using an editor

SYNOPSIS ^

    % kioku edit -i $id -D bdb-gin:dir=foo/bar

DESCRIPTION ^

This command uses Proc::InvokeEditor to edit specified entries interactively.

New entries can be added and existing ones renamed or deleted. Note that no effort is made to update links to renamed entries. It is reccomended that you run the fsck command after editing.

ATTRIBUTES ^

dsn
backend

dsn is a string and thus can be used on the command line. backend is defined in terms of dsn if it isn't provided.

editor

Override the default editor chosen by Proc::InvokeEditor.

format
formatter

format is one of yaml, storable or json, defaulting to yaml.

formatter is a code reference which takes an entry as an argument. It is created from a set of defaults using format if it isn't provided.

verbose

If enabled causes progress information to be printed to STDERR.

syntax highlighting: