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

Behaviour for the Ontogen CLI commands.

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

Summary

Callbacks

Link to this callback

call(args, options, flags, unknown)

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