Pow v0.1.0-rc.1 Mix.Pow View Source

Utilities module for mix tasks.

Link to this section Summary

Functions

Fetches context app for the project

Fetches the context base module for the app

Fetches the library path for the context app

Raises an exception if the project is an umbrella app

Parses argument options into a map

Link to this section Functions

Link to this function context_app() View Source
context_app() :: atom() | no_return()

Fetches context app for the project.

Link to this function context_base(app) View Source
context_base(atom()) :: atom()

Fetches the context base module for the app.

Link to this function context_lib_path(ctx_app, rel_path) View Source
context_lib_path(atom(), Path.t()) :: Path.t()

Fetches the library path for the context app.

Link to this function no_umbrella!(task) View Source
no_umbrella!(binary()) :: :ok | no_return()

Raises an exception if the project is an umbrella app.

Link to this function parse_options(args, switches, default_opts) View Source

Parses argument options into a map.