View Source Mix.Bonny (bonny v0.5.1)

Mix task helpers

Link to this section Summary

Link to this section Functions

@spec app_dir_name() :: binary()
@spec app_name() :: binary()

Get the OTP app name

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

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

View Source
@spec parse_args([binary()], Keyword.t(), Keyword.t()) ::
  {Keyword.t(), [binary()], [{binary(), nil | binary()}]}

Parse CLI input

@spec render(binary(), binary()) :: term()

Render text to a file.

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

@spec template(binary()) :: binary()