deq-cli-1.0.0-rc.1 is not a library.
deq-cli
The deq command-line tool for Deq shapes: traditional Kurdish tattoo (deq) motifs as SVG, PDF and images. It is built on the deq-shapes crate and shares its interface, messages and exit codes with the Node and Python CLIs (ADR 0011).
Formats: svg, svg-layered, svg-sprite, pdf, png, jpg, webp and ico. The other formats (AI, EPS, PSD, AVIF, favicons, components, Figma and more) are in the Node CLI: npx @0xdolan/deq-cli. WebP output is lossless here, so --quality only affects JPG.
Commands
| Command | What it does |
|---|---|
deq list |
List the shapes (--category, --json). |
deq info <shape> |
Names, layers and parameters of a shape (--json). |
deq render <shape...> |
Render shapes to files, or to stdout with --out -. |
deq export <shape...> |
Export in several formats and sizes (--all for every shape). |
deq flag |
Draw the flag of Kurdistan. |
deq leet [text] |
Write text as Deq Leet, or read it back with --decode. |
deq generate |
Draw a seeded band, grid, rosette or border pattern. |
deq validate <file> |
Check a shape spec file and render every parameter variant. |
deq completion <shell> |
Print a bash, zsh, fish or PowerShell completion script. |
Run deq <command> --help for every option. Exit codes: 0 success, 1 invalid shape, option or spec,
2 bad command line, 3 file error (existing files need --force), 4 format only in the Node CLI.
License: GPL-3.0-or-later.