Acme-CPANModules-COLOR

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

    NO_COLOR convention

VERSION
    This document describes version 0.005 of Acme::CPANModules::COLOR (from
    Perl distribution Acme-CPANModules-COLOR), released on 2023-08-06.

DESCRIPTION
    The NO_COLOR convention (see https://no-color.org) lets user disable
    color output of console programs by defining an environment variable
    called NO_COLOR. The existence of said environment variable, regardless
    of its value (including empty string, undef, or 0), signals that
    programs should not use colored output.

    Another similar convention is the use of the COLOR environment variable.
    False value (empty string or the value 0) means that programs should
    disable colored output, while true value (values other than the
    mentioned false values) means that programs should enable colored
    output. This convention allows force-enabling colored output instead of
    just force-disabling it, although programs supporting it need to add a
    line of code or two to check the value of the environment variable.

lib/Acme/CPANModules/COLOR.pm  view on Meta::CPAN

our $DIST = 'Acme-CPANModules-COLOR'; # DIST
our $VERSION = '0.005'; # VERSION

our $LIST = {
    summary => "List of modules that follow the COLOR & NO_COLOR convention",
    description => <<'_',

The NO_COLOR convention (see https://no-color.org) lets user disable color
output of console programs by defining an environment variable called NO_COLOR.
The existence of said environment variable, regardless of its value (including
empty string, undef, or 0), signals that programs should not use colored output.

Another similar convention is the use of the COLOR environment variable. False
value (empty string or the value 0) means that programs should disable colored
output, while true value (values other than the mentioned false values) means
that programs should enable colored output. This convention allows
force-enabling colored output instead of just force-disabling it, although
programs supporting it need to add a line of code or two to check the value of
the environment variable.

If you know of other modules that should be listed here, please contact me.

lib/Acme/CPANModules/COLOR.pm  view on Meta::CPAN


=head1 VERSION

This document describes version 0.005 of Acme::CPANModules::COLOR (from Perl distribution Acme-CPANModules-COLOR), released on 2023-08-06.

=head1 DESCRIPTION

The NO_COLOR convention (see https://no-color.org) lets user disable color
output of console programs by defining an environment variable called NO_COLOR.
The existence of said environment variable, regardless of its value (including
empty string, undef, or 0), signals that programs should not use colored output.

Another similar convention is the use of the COLOR environment variable. False
value (empty string or the value 0) means that programs should disable colored
output, while true value (values other than the mentioned false values) means
that programs should enable colored output. This convention allows
force-enabling colored output instead of just force-disabling it, although
programs supporting it need to add a line of code or two to check the value of
the environment variable.

If you know of other modules that should be listed here, please contact me.



( run in 1.884 second using v1.01-cache-2.11-cpan-d80b1682f3f )