View Source Modkit.Cli (modkit v0.2.6)
Link to this section Summary
Link to this section Types
@type arg_conf() :: [argument_opt()]
@type argument_opt() :: {:required, boolean()}
@type opt_conf() :: [option_opt()]
Link to this section Functions
@spec argument(Modkit.Cli.Command.t(), key :: atom(), arg_conf()) :: Modkit.Cli.Command.t()
@spec option( Modkit.Cli.Command.t(), key :: atom(), Modkit.Cli.Option.vtype(), opt_conf() ) :: Modkit.Cli.Command.t()