optimus v0.1.11 Optimus
Link to this section Summary
Link to this section Types
Link to this type
arg_spec_param()
Link to this type
flag_spec_param()
Link to this type
option_spec_param()
Link to this type
spec_item()
spec_item() :: {:name, String.t()} | {:description, String.t()} | {:version, String.t()} | {:author, String.t()} | {:about, String.t()} | {:allow_unknown_args, boolean()} | {:parse_double_dash, boolean()} | {:args, [arg_spec_item()]} | {:flags, [flag_spec_item()]} | {:options, [option_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
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()