codesearch1
Debian codesearch cli tool
Overview
usage: codesearch [-h] [--max-results MAX_RESULTS] [-q] [-l] [--nocolor] [-n]
-
[-d] [-x EXCLUDE] [-m {literal,regexp}] [--per-package] searchstring
positional arguments:
-
searchstring
options:
-
-h, --help -
show this help message and exit
--max-results MAX_RESULTS
-q, --quiet
-l, --linenumber
-
--nocolor -
Do not colorize output
-
-n, --print-filenames -
Print only matching filenames, no contents
-
-d, --dedupe -
amalgamate results for the same file in different packages
-
-x EXCLUDE, --exclude EXCLUDE -
list of path fragments to exclude from results
-
-m {literal,regexp}, --mode {literal,regexp} -
search mode (literal or regexp)
-
--per-package -
group results per source package