optimus v0.1.8 Optimus
Link to this section Summary
Link to this section Types
Link to this type
arg_spec_item()
arg_spec_item :: {:value_name, String.t} | {:help, String.t} | {:required, boolean} | {:parser, parser}
Link to this type
flag_spec_item()
flag_spec_item :: {:short, String.t} | {:long, String.t} | {:help, String.t} | {:multiple, boolean}
Link to this type
option_spec_item()
Link to this type
spec_item()
Link to this section Functions
Link to this function
fetch_subcommand(optimus, subcommand_path)
Link to this function
fetch_subcommand(optimus, list, subcommand_name)
Link to this function
from_yaml(filename)
Link to this function
from_yaml!(filename)
Link to this function
help(optimus)
Link to this function
parse(optimus, command_line)
parse(t, [String.t]) :: {:ok, Optimus.ParseResult.t} | {:ok, subcommand_path, Optimus.ParseResult.t} | {:error, [error]} | {:error, subcommand_path, [error]} | :version | :help | {:help, subcommand_path}
Link to this function
parse!(optimus, command_line, halt \\ &System.halt/1)
parse!(t, [String.t], (integer -> no_return)) :: Optimus.ParseResult.t | {subcommand_path, Optimus.ParseResult.t} | no_return