Rust library to create guitar chord diagrams in SVG format.
Use it online at [chordgenerator.xyz](https://chordgenerator.xyz)
## Usage
This crate contains a library and a command line binary.
Run the cli binary locally with
```
cargo run -- -f "x,x,x,2,3,2" -p "x,x,x,2,3,1" -t "D"
```
```
cargo run -- --help
Creates guitar chord diagrams
Usage: chord_cli [OPTIONS]
Options:
-f, --frets Notes to fret, 6 comma-separated values. 0 for open string, -1 to skip a string.
-p, --fingers Suggested fingering, 6 comma-separated values. 0 for open string, x to skip a string.
-t, --title Name of chord. Optional.
-s, --suffix Chord suffix to use in title. Optional.
-d, --hand Left or right handedness. `left` or `right`. Optional, defaults to right.
-m, --mode Light or dark mode `light` or `dark`. Optional, defaults to light
-b, --background Add a background to image
-h, --help Print help information
-V, --version Print version information
```