pastel 0.12.0

A command-line tool to generate, analyze, convert and manipulate colors
Documentation
1
2
3
4
5
6
7
8
9
use crate::commands::prelude::*;

pub struct ShowCommand;

impl ColorCommand for ShowCommand {
    fn run(&self, out: &mut Output, _: &ArgMatches, config: &Config, color: &Color) -> Result<()> {
        out.show_color(config, color)
    }
}