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

App::Wikidata::Template::CS::CitaceMonografie - Base class for Wikidata command line tool wd-citace-monografie.

SYNOPSIS

use App::Wikidata::Template::CS::CitaceMonografie;

my $app = App::Wikidata::Template::CS::CitaceMonografie->new;
my $exit_code = $app->run;

METHODS

new

my $app = App::Wikidata::Template::CS::CitaceMonografie->new;

Constructor.

Returns instance of object.

run

my $exit_code = $app->run;

Run.

Returns 1 for error, 0 for success.

EXAMPLE

use strict;
use warnings;

use App::Wikidata::Template::CS::CitaceMonografie;

# Arguments.
@ARGV = (
        '-l cs',
        '-p',
        'Q79324593',
);

# Run.
exit App::Wikidata::Template::CS::CitaceMonografie->new->run;

# Output like:
# {{citace monografie
#  | autor = Mistr Eckhart
#  | isbn = 978-80-901884-8-8
#  | místo = Brno
#  | počet stran = 333
#  | překladatelé = Martin Mrskoš, Petr Snášil, Vilém Konečný
#  | rok = 2019
#  | titul = Kázání
#  | vydavatel = Horus
# }}

DEPENDENCIES

Class::Utils, Error::Pure, Getopt::Std, Readonly, Unicode::UTF8, Wikibase::API, Wikibase::Datatype::Query.

REPOSITORY

https://github.com/michal-josef-spacek/App-Wikidata-Template-CS-CitaceMonografie

AUTHOR

Michal Josef Špaček mailto:skim@cpan.org

http://skim.cz

LICENSE AND COPYRIGHT

© 2018-2023 Michal Josef Špaček

BSD 2-Clause License

VERSION

0.01