shake
Search uses release 0.7.0.0 · 339 definitions
Definitions (339)
- def err.hintwhere to look for more: `help`, and the path when there is one
- def err.wrapa short error, the usage line of the command where it happened, and the hint
- def err.spelleda flag or an option spelled as an error names it: `--long`, else `-s`, followed by its value mark, else its name when it has no spelling
- def err.form.kindan argument of this kind as an error names it
- def err.forman argument as an error names it, as clap's: a flag by its spelling, an option by its spelling and value mark, a positional by its usage mark
- def err.find.herethe argument found here, else the one found above
- def help.how_argsthe arguments of a page's command
- def err.find.gothe argument named `name` on the deepest page a path walks through that has one, else `best`
- def err.findthe argument named `name` of the deepest command on `at` that has one
- def err.nameda found argument's display form, else the name
- def err.namethe argument an error names, as it names it
- def err.valuesclap's line of the values a found argument allows, or nothing
- def osa.headthe head of a row, or 0 past its end
- def osa.taila row after its head
- def osa.lastthe last cell of a row, `dd` for an empty one
- def osa.firstthe first row: `ii`, then one more for each char
- def osa.swap.bwhether the char before `cb` is `ca`, once the char before `ca` is `xa`
- def osa.swapwhether the two chars before these, swapped, are these two
- def osa.cell.swapthe cheaper of a cell and a swap from two rows up and two cells left
- def osa.cellone cell: the cheapest of a deletion, an insertion, a substitution and a swap of two adjacent chars
- def osa.rowthe rest of a row for the char `ca`, whose char before is `pa`: `ps` is the row above from the cell above-left on, `qs` the row two up from two cells left on, `pb` the char of `bs` before its head
- def osa.rowsthe rows for the chars of `as`, the last row `pp` and the one before `qq`, down to the distance in the last row's last cell
- def osathe optimal string alignment distance from `aa` to `bb`: the fewest insertions, deletions, substitutions and swaps of two adjacent chars, no char edited twice
- def sug.close.gowhether a candidate is close to the typed spelling
- def sug.closewhether `cc` is close to `typed`: some edits away, and at most a third of the longer as many
- def sug.keep.resta close candidate against the closest one after it: the earlier on a tie
- def sug.keepa candidate, when it is close, against the closest one after it
- def sug.bestthe closest close candidate, the first among equals
- def sug.cands.puta long spelling in front of the rest, when there is one
- def sug.candsthe long spellings of a command's arguments, in order
- def sug.args.gothe arguments of the page at the end of a shrinking path
- def sug.argsthe arguments of the command at `path`, reached as `help` reaches it
- def sug.typedthe spelling a long option word was typed with: its chars up to `=`
- def sug.founda candidate spelled as a long option word
- def sug.word.gothe suggestion for a word, when it is a long option word
- def sug.wordthe long spelling a word refused at `at` was likely meant to be
- def suggestionthe long spelling an unknown long option was likely meant to be, as clap's "a similar argument exists"; None for every other error
- def sug.tipclap's tip line for a suggestion, or nothing
- def err_texterror text; NeedHelp and NeedVersion are empty (the caller prints `help`, or `version_of`)