# CLI Usage and Options

## Basic Commands

Generate a standard favicon + PNG set using vibrant theme:

```bash
php icon-maker-ttf.php   --label "Tips"   --name "Tips"   --output icons/favicon-tips-vibrant.ico   --png-set   --palette   --theme vibrant   --depth 2
```

Generate a BS5 primary 512×512 PNG:

```bash
php icon-maker-ttf.php   --label "Tips & Tricks"   --name "Tips & Tricks"   --format png   --size 512   --output icons/tips-primary-512.png   --bs-theme primary   --depth 2
```

## Key Flags

- `--label`: Text rendered in the icon. Multi-line allowed for large sizes.
- `--name`: Used for color hashing; you can set it equal to `--label`.
- `--format`: `ico`, `png`, or `jpg`.
- `--palette`: Use theme-based background color.
- `--theme`: `vibrant`, `pastel`, `dark`, `mono`.
- `--bs-theme`: Bootstrap 5 theme (`primary`, `success`, etc.).
- `--depth`: 0–2 for visual depth (inner highlight).
- `--font-file`: Explicit path to TTF font; else defaults to `../system/data/fonts`.
