commando v0.1.0 Commando.State

Internal Commando state.

Link to this section Summary

Link to this section Types

Link to this type t()
t() :: %Commando.State{aliases: [switch_alias], app_description: String.t, app_name: String.t, defaults: [{atom, any}], descriptions: [{atom, String.t}], example: String.t, required: [atom], switches: [switch]}

Link to this section Functions

Link to this function add_alias(state, switch, switch_alias)
Link to this function add_default(state, switch, default)
add_default(t, atom, any) :: t
Link to this function add_description(state, switch, description)
Link to this function add_required(state, switch)
Link to this function add_switch(state, switch, type)
add_switch(t, atom, Commando.switch_type) :: t