NAME
lens - Transform colors in terminal output
VERSION
This document describes version 0.022 of lens (from Perl distribution App-lens), released on 2021-03-13.
SYNOPSIS
Usage:
% command-that-produces-colored-output | lens <transform-name>
Available transforms:
bold
Give bold to all colors.
inverse
Inverse all colors.
mono
Replace all colors with gray.
nobold
Remove bold.
noop
Do no transform.
pastel
Pastelize colors.
ct
Transform using one of ColorTransform::* modules.
codes
Show color codes literally.
Some examples:
# Make ls output mono
% ls -l --color | lens mono
# Make the WWW color swatch into monotone (green)
% COLOR=1 show-color-swatch | lens ct Monotone hue 120
DESCRIPTION
HOMEPAGE
Please visit the project's homepage at https://metacpan.org/release/App-lens.
SOURCE
Source repository is at https://github.com/perlancar/perl-App-lens.
BUGS
Please report any bugs or feature requests on the bugtracker website https://github.com/perlancar/perl-App-lens/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
ColorTransform::*
modules
AUTHOR
perlancar <perlancar@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2021 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.