NAME
Getopt::Kingpin::Type::ExistingFile - command line option object
SYNOPSIS
use
Getopt::Kingpin;
my
$kingpin
= Getopt::Kingpin->new;
my
$readme
=
$kingpin
->flag(
'readme'
,
'set readme'
)->existing_file();
$kingpin
->parse;
printf
"readme : %s\n"
,
$readme
;
DESCRIPTION
Getopt::Kingpin::Type::ExistingFile is the type definition for ExistingFile within Getopt::Kingpin.
METHOD
set_value($value)
Set the value of $self->value. Converts strings to Path::Tiny objects and checks is_file
is true.
LICENSE
Copyright (C) sago35.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
AUTHOR
sago35 <sago35@gmail.com>