NAME

Getopt::Kingpin::Type::File - command line option object

SYNOPSIS

use Getopt::Kingpin;
my $kingpin = Getopt::Kingpin->new;
my $readme = $kingpin->flag('readme', 'set readme')->file();
$kingpin->parse;

printf "readme : %s\n", $readme;

DESCRIPTION

Getopt::Kingpin::Type::File is the type definition for File within Getopt::Kingpin.

METHOD

set_value($value)

Set the value of $self->value. Converts strings to Path::Tiny objects.

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>