mix composer.recipe.list (composer v0.2.0)

Copy Markdown View Source

Lists recipes with their shortdocs: your local: recipes first, then every cookbook's.

$ mix composer.recipe.list
  local:ash/base        Ash core: sourceror, ash and ash_phoenix
  local:ash/auth        Ash with authentication, admin, TUI and accounts
  composer_lab:lv/base  LiveView base

mix composer.recipe.list                    # every cookbook
mix composer.recipe.list local              # one cookbook
mix composer.recipe.list local composer_lab # several cookbooks
mix composer.recipe.list local:ash/         # one group (note the slash)

Cookbooks are separate arguments, not a comma-separated list. A group file that cannot be loaded is reported as a warning, with its path.

Options

  • -c, --config - the local config directory (see Composer.Local)
  • --json - print JSON instead of text