Skip to content

slopvac terms

Manage project terms

Usage: slopvac terms [OPTIONS] <COMMAND>
Argument Value Default Description
-h, --help none none Print help

Run slopvac terms help [COMMAND] to print the help of a subcommand.

List terms

Usage: slopvac terms list [OPTIONS]
Argument Value Default Description
--kind KIND none
--builtin none false Include the built-in list
--files PATH none Terms file (default: .slopvac/terms.toml)
-h, --help none none Print help

Find terms by substring, ignoring case

Usage: slopvac terms search [OPTIONS] <query>
Argument Value Default Description
<QUERY> (required) QUERY none
--files PATH none Terms file (default: .slopvac/terms.toml)
-h, --help none none Print help

Add a term; lower-case terms default to ignoring case

Usage: slopvac terms add [OPTIONS] <term>
Argument Value Default Description
<TERM> (required) TERM none
--kind KIND none
--variant SPELLING none
--ignore-case none false
--case-sensitive none false Match only the exact spelling; other casings are different words
--files PATH none Terms file (default: .slopvac/terms.toml)
-h, --help none none Print help

Remove a term

Usage: slopvac terms remove [OPTIONS] <term>
Argument Value Default Description
<TERM> (required) TERM none
--files PATH none Terms file (default: .slopvac/terms.toml)
-h, --help none none Print help

Report wrong-case terms in files; exit 1 when any are found

Usage: slopvac terms check [OPTIONS] <paths>...
Argument Value Default Description
<PATHS> (required) PATHS none
--files PATH none Terms file (default: .slopvac/terms.toml)
-h, --help none none Print help

List inferred proper nouns and acronyms that are not terms yet; nothing is written unless you name a term with –accept

Usage: slopvac terms suggest [OPTIONS] <paths>...
Argument Value Default Description
<PATHS> (required) PATHS none
--min N 2 Only candidates seen at least N times
--accept TERM none Add this suggested spelling to the terms file
--files PATH none Terms file (default: .slopvac/terms.toml)
-h, --help none none Print help

Import words from another tool: a Vale accept.txt, a cspell JSON config (YAML configs are not supported) or a codespell ignore list

Usage: slopvac terms import [OPTIONS] --from <from> <file>
Argument Value Default Description
--from (required) one of vale, cspell, codespell none
<FILE> (required) FILE none
--files PATH none Terms file (default: .slopvac/terms.toml)
-h, --help none none Print help