diff --git a/README.md b/README.md index 44521db..2325226 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # `gradient` [![Build Status](https://github.com/mazznoer/gradient-rs/workflows/Rust/badge.svg)](https://github.com/mazznoer/gradient-rs/actions) +[![crates.io](https://img.shields.io/crates/v/gradient.svg)](https://crates.io/crates/gradient) A command-line tool for playing with color gradients. @@ -33,14 +34,16 @@ gradient [OPTIONS] * `-W`, `--width` `` : Gradient display width (default: terminal width) * `-H`, `--height` `` : Gradient display height (default: 2) * `-b`, `--background` `` : Background color (default: checkerboard) +* `--cb-color` `` `` : Checkerboard color * `-s`, `--sample` ``... : Get color(s) at specific position * `-t`, `--take` `` : Get N colors evenly spaced across gradient * `-o`, `--format` `` : Output color format (default: hex) [hex, rgb, rgb255, hsl, hsv, hwb] +* `-a`, `--array` : Print colors as array ### Preset gradient * `-p`, `--preset` `` : Using the preset gradient -* `-l`, `--list-presets` : Lists all available preset gradients +* `-l`, `--list-presets` : Lists all available preset gradient names ### Custom gradient @@ -54,7 +57,7 @@ gradient [OPTIONS] * `-f`, `--file` ``... : Read gradient from SVG or GIMP gradient (ggr) file(s) * `--ggr-fg` `` : GGR foreground color (default: black) * `--ggr-bg` `` : GGR background color (default: white) -* `--svg-id` `` : Pick SVG gradient by ID +* `--svg-id` `` : Pick one SVG gradient by ID `COLOR` can be specified using [CSS color format](https://www.w3.org/TR/css-color-4/).