View Source Igniter.Project.Application (igniter v0.3.29)

Codemods and tools for working with Application modules.

Summary

Functions

Adds a new child to the children list in the application file

Returns the name of the application module.

app_name() deprecated

Returns the name of the current application.

Returns the name of the application.

Functions

Link to this function

add_new_child(igniter, to_supervise)

View Source
@spec add_new_child(Igniter.t(), module() | {module(), term()}) :: Igniter.t()

Adds a new child to the children list in the application file

Returns the name of the application module.

This function is deprecated. Use `app_name/1` instead..
@spec app_name() :: atom()

Returns the name of the current application.

@spec app_name(Igniter.t()) :: atom()

Returns the name of the application.

Link to this function

create_app(igniter, application)

View Source
Link to this function

create_application_file(igniter, application)

View Source
Link to this function

do_add_child(igniter, application, to_supervise)

View Source