mix dog.safelist (Doggo v0.15.0)

Copy Markdown View Source

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.