OS Manuals

/opt/chainguard/dbt-core/bin/slugify

dbt core - data transformation tool for analytics engineering

From dbt-core 1.12.6-r1 (enterprise-packages), captured 2026-11-08 by running slugify --help (exit 0). permalink

usage: slugify [-h] [--stdin] [--no-entities] [--no-decimal] [--no-hexadecimal]
               [--max-length MAX_LENGTH] [--word-boundary] [--save-order] [--separator SEPARATOR]
               [--stopwords STOPWORDS [STOPWORDS ...]] [--regex-pattern REGEX_PATTERN]
               [--no-lowercase] [--replacements REPLACEMENTS [REPLACEMENTS ...]] [--allow-unicode]
               [--algorithm {legacy,modern}] [--backend {auto,text-unidecode,unidecode,anyascii}]
               [--replacement-stage {both,pre,post}]
               [input_string ...]

Slug string

options:
  -h, --help            show this help message and exit
  --no-entities         Do not convert HTML entities to unicode
  --no-decimal          Do not convert HTML decimal to unicode
  --no-hexadecimal      Do not convert HTML hexadecimal to unicode
  --max-length MAX_LENGTH
                        Output string length, 0 for no limit
  --word-boundary       Truncate to complete word even if length ends up shorter than --max_length
  --save-order          When set and --max_length > 0 return whole words in the initial order
  --separator SEPARATOR
                        Separator between words. By default -
  --stopwords STOPWORDS [STOPWORDS ...]
                        Words to discount
  --regex-pattern REGEX_PATTERN
                        Python regex pattern for disallowed characters
  --no-lowercase        Activate case sensitivity
  --replacements REPLACEMENTS [REPLACEMENTS ...]
                        Additional replacement rules e.g. "|->or", "%->percent".
  --allow-unicode       Allow unicode characters
  --algorithm {legacy,modern}
                        Slug algorithm (legacy default; modern explicitly opts into changed
                        output)
  --backend {auto,text-unidecode,unidecode,anyascii}
                        Transliteration backend (auto preserves legacy preference)
  --replacement-stage {both,pre,post}
                        Apply replacement rules before, after, or both sides of cleanup

  Input

  input_string          Text to slugify
  --stdin               Take the text from STDIN
Options (15)
OptionDescriptionSource
-h, --helpshow this help message and exithelp
--no-entitiesDo not convert HTML entities to unicodehelp
--no-decimalDo not convert HTML decimal to unicodehelp
--no-hexadecimalDo not convert HTML hexadecimal to unicodehelp
--max-length MAX_LENGTHOutput string length, 0 for no limithelp
--word-boundaryTruncate to complete word even if length ends up shorter than --max_lengthhelp
--save-orderWhen set and --max_length > 0 return whole words in the initial orderhelp
--separator SEPARATORSeparator between words.help
--regex-pattern REGEX_PATTERNPython regex pattern for disallowed charactershelp
--no-lowercaseActivate case sensitivityhelp
--allow-unicodeAllow unicode charactershelp
--algorithm legacySlug algorithm (legacy default;help
--backend autoTransliteration backend (auto preserves legacy preference)help
--replacement-stage bothApply replacement rules before, after, or both sides of cleanuphelp
--stdinTake the text from STDINhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.