View Source CliAppHelper.Command behaviour (cli_app_helper v0.1.2)

Defines an individual CLI application command

Link to this section Summary

Link to this section Types

@type flags() :: keyword(type: atom(), aliases: [atom()], required: boolean())

Link to this section Callbacks

@callback flags() :: flags()
@callback helper_text() :: String.t()
@callback run(args :: [String.t()], flags :: keyword()) :: :ok | {:error, [String.t()]}