mix nbx.gen.cache (Nebulex v3.1.0)

Copy Markdown View Source

Generates a new cache.

The cache module is placed in the lib directory and uses Nebulex.Adapters.Local. The task also adds a config entry for it to config/config.exs (or the project's :config_path), creating the file if needed.

Examples

$ mix nbx.gen.cache -c MyApp.Cache

Command line options

  • -c, --cache - The cache to generate.