View Source DoIt.Argument (do_it v0.6.1)

This module parse and validate arguments.

Summary

Types

@type t() :: %DoIt.Argument{
  allowed_values: list(),
  description: String.t(),
  name: atom(),
  type: atom()
}

Functions

Link to this function

parse_input(arguments, parsed)

View Source
Link to this function

validate_definition(argument)

View Source
Link to this function

validate_definition_allowed_values(argument)

View Source
Link to this function

validate_definition_description(argument)

View Source
Link to this function

validate_definition_name(argument)

View Source
Link to this function

validate_definition_type(argument)

View Source
Link to this function

validate_input(arguments, parsed)

View Source
Link to this function

validate_input_allowed_values(error)

View Source
Link to this function

validate_input_allowed_values(arg, acc)

View Source
Link to this function

validate_input_value(error)

View Source
Link to this function

validate_input_value(arg, acc)

View Source