Mix.Bonny (bonny v0.4.4) View Source

Mix task helpers

Link to this section Summary

Link to this section Functions

Specs

app_dir_name() :: binary()

Specs

app_name() :: binary()

Get the OTP app name

Specs

no_umbrella!() :: any()
Link to this function

parse_args(args, defaults, cli_opts \\ [])

View Source

Specs

parse_args([binary()], Keyword.t(), Keyword.t()) ::
  {Keyword.t(), [binary()], [{binary(), nil | binary()}]}

Parse CLI input

Specs

render(binary(), binary()) :: binary()

Render text to a file.

Special handling for the path "-" will render to STDOUT

Specs

template(binary()) :: binary()