From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

#ABSTRACT: Role for the 'publishes_drafts' attr
our $AUTHORITY = 'cpan:GENEHACK';
$HiD::Role::PublishesDrafts::VERSION = '1.992';
requires '_run';
has publish_drafts=> (
is => 'ro' ,
isa => 'Bool' ,
cmd_aliases => 'D' ,
traits => [ 'Getopt' ] ,
);
no Moose::Role;
1;
__END__
=pod
=encoding UTF-8
=head1 NAME
HiD::Role::PublishesDrafts - Role for the 'publishes_drafts' attr
=head1 ATTRIBUTES
=head2 publish_drafts
Flag indicating whether or not to publish draft posts stored in the drafts
directory (which defaults to '_drafts' but can be set with the 'drafts_dir'
config key).
=head1 VERSION
version 1.992
=head1 AUTHOR
John SJ Anderson <genehack@genehack.org>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2015 by John SJ Anderson.
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