# `mix dog.safelist`
[🔗](https://github.com/woylie/doggo/blob/0.15.1/lib/mix/tasks/dog.safelist.ex#L1)

Returns a list of all component classes.

## Usage

List all component classes:

    mix dog.safelist -m MyAppWeb.CoreComponents

Write classes to file:

    mix dog.safelist -m MyAppWeb.CoreComponents -o assets/doggo_safelist.txt

Check whether a file is up-to-date:

    mix dog.safelist -m MyAppWeb.CoreComponents -o assets/doggo_safelist.txt --check

## Command line options

  * `-m`, `--module` - the module the Doggo components are compiled into.
    Required.
  * `-o`, `--output` - writes the classes to this file instead of printing
    them.
  * `--check` - exits with an error if the file given by `--output` is out of
    date. Requires `--output`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
