#!perl
use 5.010;
use strict;
use warnings;
use Text::ANSITable;
our $VERSION = '0.34'; # VERSION
binmode(STDOUT, ":utf8");
my $t = Text::ANSITable->new;
my $all_sets = $t->list_style_sets(1);
$t->columns(['Name', 'Summary', 'Arguments']);
for (sort keys %$all_sets) {
my $set = $all_sets->{$_};
$t->add_row([
$set->{name},
$set->{summary},
join(", ", @{ $set->{args} // []}),
]);
}
print $t->draw;
#ABSTRACT: List available style sets for Text::ANSITable
#PODNAME: ansitable-list-style-sets
__END__
=pod
=encoding UTF-8
=head1 NAME
ansitable-list-style-sets - List available style sets for Text::ANSITable
=head1 VERSION
This document describes version 0.34 of ansitable-list-style-sets (from Perl distribution Text-ANSITable), released on 2014-07-10.
=head1 HOMEPAGE
Please visit the project's homepage at L<https://metacpan.org/release/Text-ANSITable>.
=head1 SOURCE
Source repository is at L<https://github.com/sharyanto/perl-Text-ANSITable>.
=head1 BUGS
Please report any bugs or feature requests on the bugtracker website L<https://rt.cpan.org/Public/Dist/Display.html?Name=Text-ANSITable>
When submitting a bug or request, please include a test-file or a
patch to an existing test-file that illustrates the bug or desired
feature.
=head1 AUTHOR
Steven Haryanto <stevenharyanto@gmail.com>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by Steven Haryanto.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut