App-CSVUtils
view release on metacpan or search on metacpan
lib/App/CSVUtils/csv2vcf.pm view on Meta::CPAN
our $VERSION = '1.036'; # VERSION
use App::CSVUtils qw(gen_csv_util);
gen_csv_util(
name => 'csv2vcf',
summary => 'Create a VCF from selected fields of the CSV',
description => <<'_',
You can set which CSV fields to use for name, cell phone, and email. If unset,
will guess from the field name. If that also fails, will warn/bail out.
_
add_args => {
name_vcf_field => {
summary => 'Select field to use as VCF N (name) field',
schema => 'str*',
},
cell_vcf_field => {
summary => 'Select field to use as VCF CELL field',
schema => 'str*',
lib/App/CSVUtils/csv2vcf.pm view on Meta::CPAN
=over
=item * Create an addressbook from CSV:
csv2vcf(input_filename => "addressbook.csv");
=back
You can set which CSV fields to use for name, cell phone, and email. If unset,
will guess from the field name. If that also fails, will warn/bail out.
This function is not exported.
Arguments ('*' denotes required arguments):
=over 4
=item * B<cell_vcf_field> => I<str>
Select field to use as VCF CELL field.
script/csv2vcf view on Meta::CPAN
B<csv2vcf> [B<L<--cell-vcf-field|/"--cell-vcf-field=s">>=I<str>] [B<L<--debug|/"--debug">>|B<L<--log-level|/"--log-level=s">>=I<level>|B<L<--quiet|/"--quiet">>|B<L<--trace|/"--trace">>|B<L<--verbose|/"--verbose">>] [B<L<--email-vcf-field|/"--email-vc...
See examples in the L</EXAMPLES> section.
=head1 DESCRIPTION
You can set which CSV fields to use for name, cell phone, and email. If unset,
will guess from the field name. If that also fails, will warn/bail out.
=head1 OPTIONS
C<*> marks required options.
=head2 Main options
=over
=item B<--cell-vcf-field>=I<s>
( run in 0.357 second using v1.01-cache-2.11-cpan-748bfb374f4 )