NAME¶
sfood-imports - parse Python files and output a unified list of imported symbols
SYNOPSIS¶
sfood-imports [options] files...
DESCRIPTION¶
The imported modules/symbols are output even if they cannot be found. (You could
try to do this with grep, but this is more accurate because it uses the AST to
obtain the list of imports.)
OPTIONS¶
- -h, --help
- show the help message and exit
- -I IGNORES, --ignore=IGNORES
- Add the given directory name to the list to be ignored.
- -u, --unified
- Just output the unique set of dependencies found, in no particular order,
without the filenames. The default is to output all imports, in order of
appearance, along with the filename and line number.
- -v, --verbose
- Output input lines as well.
AUTHOR¶
sfood-graph was written by Martin Blais <blais@furius.ca> and it's part of
snakefood suite.
This manual page was written by Sandro Tosi
<morph@debian.org>, for the Debian project (and may be used by
others).