Packages

Build robust, elegant CLIs with minimal boilerplate

Current section

Files

Jump to
mandate lib mandate dsl run.ex
Raw

lib/mandate/dsl/run.ex

defmodule Mandate.Dsl.Run do
defstruct [:fun]
@doc false
def __entity__,
do: %Spark.Dsl.Entity{
name: :run,
args: [:fun],
target: Mandate.Dsl.Run,
schema: [
fun: [
type: {:fun, 1},
required: false
]
]
}
end