MCPcopy Create free account

hub / github.com/Owez/argi / functions

Functions45 in github.com/Owez/argi

↓ 6 callersMethodarg_flow
Pathway for arguments which automatically adds data to arguments if found in current instance
src/lib.rs:160
↓ 6 callersFunctionexample_cmd
()
src/lib.rs:785
↓ 4 callersMethodapply_afters
(&mut self, data: Option<String>)
src/lib.rs:520
↓ 4 callersMethodhelp
Writes full help message to buffer
src/lib.rs:405
↓ 4 callersMethodlaunch
(self)
src/lib.rs:96
↓ 2 callersFunctioncompare
(possible: &str, target: &str)
src/typo.rs:16
↓ 2 callersFunctionfmt_parses
(parses: &Option<&str>, optional: bool)
src/lib.rs:610
↓ 2 callersFunctionget_cur_exe
Gets file name current exe as a string
src/lib.rs:19
↓ 2 callersMethodhelp_err
(&self, err: Error, call: Option<&Vec<String>>)
src/lib.rs:491
↓ 2 callersMethodhelp_left
(&self)
src/lib.rs:514
↓ 2 callersMethodparse
Recurses from current command instance horizontally to fetch arguments and downwards to more subcommands
src/lib.rs:119
↓ 1 callersMethodarg_exists
Checks if an argument exists by its raw instigator value (includes `-` or `--` section)
src/lib.rs:387
↓ 1 callersMethodarg_flow_ms
Specialty flow for verifying specialty multi-character short arguments; used as part of the larger [Self::arg_flow] method
src/lib.rs:281
↓ 1 callersMethodarg_flow_sl
Specialty flow for verifying short and long arguments; used as part of the larger [Self::arg_flow] method
src/lib.rs:214
↓ 1 callersFunctionfmt_call
(call: &[String])
src/lib.rs:598
↓ 1 callersFunctiongen_matrix
Generates a matrix with filled first values going `01234..` for distance calculations
src/typo.rs:23
↓ 1 callersMethodlaunch_custom
Same as [Command::launch] but allows custom inputting of a `stream` containing input arguments
src/lib.rs:103
↓ 1 callersMethodsearch_subcmds_mut
Searches current instance's subcommands for given name
src/lib.rs:377
Methodapply_arg
Once a mutable argument is found, everything can be applied to it depending upon if it has data
src/lib.rs:349
Functionarg_dashes
Formats dashes onto arguments, used instead of directly supplying original so `-abc` can be formatted down into `-b` potentially
src/error.rs:86
Functionarg_help_left
()
src/lib.rs:845
Functionargs_long
()
src/lib.rs:909
Functionargs_short_basic
()
src/lib.rs:872
Functionargs_short_multi
()
src/lib.rs:884
Functionargs_short_multi_data_err
()
src/lib.rs:898
Functioncheck
Typo matcher to correct user errors Checks all `possibles` (min 1) for the closest to `target`, returning a string if any are close
src/typo.rs:4
Functioncheck_data
()
src/lib.rs:964
Functioncheck_matrix_gen
()
src/typo.rs:50
Functioncli_macro_syntax
()
src/lib.rs:930
Functioncmd_help_full
()
src/lib.rs:859
Functioncmd_help_left
()
src/lib.rs:829
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
src/lib.rs:56
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
src/error.rs:39
Functionfmt_parses_opt
()
src/lib.rs:957
Methodfrom
(opt_string: Option<&'a str>)
src/lib.rs:44
Methodfrom
(err: io::Error)
src/error.rs:33
Methodis_arg
(&self)
src/lib.rs:587
Functionlaunch
Launches webapp when asked to by the command
examples/irl.rs:49
Functionmain
()
examples/pretend_website.rs:13
Functionmain
()
examples/irl.rs:58
Functionmain
()
examples/basic.rs:12
Functionmain
()
examples/quickstart.rs:4
Methodnew
Creates a new configuration instance
examples/irl.rs:26
Functionsearching_subcmds
()
src/lib.rs:921
Methodtab_to
Automatically pads left and right hand side of help messages together
src/lib.rs:433