NAME

Acme::CPANModules::COLOR - Modules that follow the COLOR & NO_COLOR convention

VERSION

This document describes version 0.003 of Acme::CPANModules::COLOR (from Perl distribution Acme-CPANModules-COLOR), released on 2021-03-27.

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.

ACME::CPANMODULES ENTRIES

FAQ

What is an Acme::CPANModules::* module?

An Acme::CPANModules::* module, like this module, contains just a list of module names that share a common characteristics. It is a way to categorize modules and document CPAN. See Acme::CPANModules for more details.

What are ways to use this Acme::CPANModules module?

Aside from reading this Acme::CPANModules module's POD documentation, you can install all the listed modules (entries) using cpanmodules CLI (from App::cpanmodules distribution):

% cpanmodules ls-entries COLOR | cpanm -n

or Acme::CM::Get:

% perl -MAcme::CM::Get=COLOR -E'say $_->{module} for @{ $LIST->{entries} }' | cpanm -n

or directly:

% perl -MAcme::CPANModules::COLOR -E'say $_->{module} for @{ $Acme::CPANModules::COLOR::LIST->{entries} }' | cpanm -n

This Acme::CPANModules module also helps lcpan produce a more meaningful result for lcpan related-mods command when it comes to finding related modules for the modules listed in this Acme::CPANModules module.

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/Acme-CPANModules-COLOR.

SOURCE

Source repository is at https://github.com/perlancar/perl-Acme-CPANModules-COLOR.

BUGS

Please report any bugs or feature requests on the bugtracker website https://github.com/perlancar/perl-Acme-CPANModules-COLOR/issues

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.

SEE ALSO

Acme::CPANModules - about the Acme::CPANModules namespace

cpanmodules - CLI tool to let you browse/view the lists

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2021, 2020, 2018 by perlancar@cpan.org.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.