View Source Ontogen.CLI.Command behaviour (Ontogen CLI v0.1.2)

Behaviour for the Ontogen CLI commands.

The result integer or :abort is passed to System.halt/1.

Summary

Callbacks

Link to this callback

handle_call(args, options, flags, unknown)

View Source
@callback handle_call(
  args :: map(),
  options :: map(),
  flags :: map(),
  unknown :: [binary()]
) ::
  :ok | {:ok, non_neg_integer()} | {:error, binary()} | :abort