| Crates.io | lospec-cli |
| lib.rs | lospec-cli |
| version | 0.2.0 |
| created_at | 2024-03-11 11:18:57.025002+00 |
| updated_at | 2024-03-14 14:04:09.486441+00 |
| description | Lospec CLI is a command-line interface tool that allows users to interact with Lospec's color palettes conveniently. With this tool, you can search for color palettes and download them. |
| homepage | https://github.com/jmg-duarte/lospec-cli |
| repository | https://github.com/jmg-duarte/lospec-cli |
| max_upload_size | |
| id | 1169378 |
| size | 56,058 |
Lospec CLI is a command-line interface tool that allows users to interact with Lospec's color palettes conveniently. With this tool, you can search for color palettes and download them.
lospec <COMMAND>
search: Search for color palettesdownload: Download a color palettehelp: Print this message or the help of the given subcommand(s)-h, --help: Print helpTo install Lospec CLI using cargo, run the following command:
cargo install lospec-cli
To install Lospec CLI from source, follow these steps:
git clone https://github.com/lospec/lospec-cli.git
cd lospec-cli
cargo install --path .
To search for color palettes, use the search command followed by your query:
lospec search --tag purple --max 8 -p 2 --sorting az
In other words:
--tag "purple" — search for the color schemes with a "purple" tag
--max 8 — search for a palette with a maximum of 8 colors
-p 2 — show the second page of results
--sorting az — sort results alphabetically
To download a color palette, use the download command followed by the palette's slug:
lospec download slso8 -f colorset
In other words:
download sls08 — download the sls08 palette
-f colorset — save the palette in XCode's .colorset format
This project is licensed under the MIT License - see the LICENSE file for details.