Packages

Build robust, elegant CLIs with minimal boilerplate

Current section

Files

Jump to
mandate lib mandate dsl description.ex
Raw

lib/mandate/dsl/description.ex

defmodule Mandate.Dsl.Description do
defstruct [:description]
@doc false
def __entity__,
do: %Spark.Dsl.Entity{
name: :description,
args: [:description],
target: Mandate.Dsl.Description,
describe: "The command description, will be used in help output",
schema: [
description: [
type: :string,
required: false
]
]
}
end