OS Manuals

/opt/chainguard/prometheus-prefect-exporter/bin/slugify

Prometheus exporter for Prefect metrics

From prometheus-prefect-exporter 4.1.0-r2 (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]
               [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

  Input

  input_string          Text to slugify
  --stdin               Take the text from STDIN
Options (12)
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
--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.