findin --version (return code: 2)
usage: findin [-h] [-x EXCLUDE_FILTER] [-i INCLUDE_FILTER] [-e EXTENSION] [-m]
directory search [search ...]
findin: error: too few arguments
findin --help (return code: 0)
usage: findin [-h] [-x EXCLUDE_FILTER] [-i INCLUDE_FILTER] [-e EXTENSION] [-m]
directory search [search ...]
findin
Find strings in files in a directory and colour print them.
positional arguments:
directory directory to search
search string to search for.
optional arguments:
-h, --help show this help message and exit
-x EXCLUDE_FILTER, --exclude-filter EXCLUDE_FILTER
paths not to search, processed as regex.
-i INCLUDE_FILTER, --include-filter INCLUDE_FILTER
paths to include, processed as regex, if not provided all paths are searched.
-e EXTENSION, --extension EXTENSION
required extension, (actually required ending of path), eg. ".py" or "el.py"
-m, --match use re.match instead of default of re.search